Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix AsyncClient::wait unexpected return after success reconnect (#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>
- Loading branch information