Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): reduce timeout for the first Connect() request (#540)
In the case of a zookeeper server under pressure, it will typically try to maintain the quorum rather than handling client requests. In this kind of case, the quorum is maintained, the connection works, but the client is frozen there. Retrying after a shorter timeout means we can reconnect to another server before losing the session altogether.
- Loading branch information