Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Switch iperf3 to generate a new client every time it runs a test #29495
Generates a new Iperf3 client every time one is needed, rather than re-using the existing one. There is a race condition in the existing implementation because both the upload/download sensors start updating at the same time using the same client. Rather than saving and reusing two unique clients, it seems better to regenerate when we need to use one. Thanks to @dooz127 for tracing down the root cause.
I also added myself to CODEOWNERS for iperf3 since I have been maintaining it.
Related issue (if applicable): fixes #22163
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for