Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
In the event that the client cannot connect, it will run in a tight loop, needlessly using CPU cycles until it finally connects or times out.
This patch puts a wait period in the loop, similar to what is done in _wait_until_running(). It also exposes a wait_period parameter in the function arguments.