Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
telemetry: fix connected clients count
[ upstream commit e14bb5f1050924de1602033596d5b417bfbeee52 ] Telemetry can only create 10 conns by default, each of which is processed by a thread. When a thread fails to write using socket, the thread will end directly without reducing the total number of conns. This will result in the machine running for a long time, and if there are 10 failures, the telemetry will be unavailable Fixes: 2a7d0b8 ("telemetry: add upper limit on connections") Cc: [email protected] Signed-off-by: Shaowei Sun <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Ciara Power <[email protected]> Acked-by: Chengwen Feng <[email protected]>
- Loading branch information