You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix AsyncClient::wait unexpected return after success reconnect (miguelgrinberg#1407)
* fix AsyncClient::wait unexpected return after success reconnect
AsyncClient::wait use sleep(1) call to wait to start reconnect task.
Sometimes reconnect is faster then 1 second, and wait returns while connection to server is established.
Added one check to avoid this situation
* Making added check easier to understand in source code
* fix Client::wait unexpected return after success reconnect
* fixes
---------
Co-authored-by: Miguel Grinberg <miguel.grinberg@gmail.com>
0 commit comments