Skip to content

Commit

Permalink
Allow retrying while the first election happens
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienneCohea committed Dec 17, 2020
1 parent 1b4613e commit af7a899
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ var retryableErrors = []string{
"i/o timeout",
"connection refused",
"EOF",
"No cluster leader",
}

func isRetryable(err error) bool {
Expand Down

0 comments on commit af7a899

Please sign in to comment.