-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mon/MonClient: apply timeout while fetching config
The normal timeouts automatically apply during the authenticate() stage, but not to the explicit wait for a config. If we don't get that quickly we shoudl retry another monitor because it is possible we will connect to an out-of-quorum (or otherwise unresponsive) mon. Signed-off-by: Sage Weil <sage@redhat.com>
- Loading branch information
Showing
1 changed file
with
35 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters