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") Signed-off-by: Shaowei Sun <1819846787@qq.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Ciara Power <ciara.power@intel.com> Acked-by: Chengwen Feng <fengchengwen@huawei.com>
- Loading branch information