Merge pull request #1589 from williamkinney/maxretry

add disable/-1 comment to max retries
This commit is contained in:
Vladimir Mihailenco 2020-12-29 08:24:24 +02:00 committed by GitHub
commit b3e0aa270a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ type Options struct {
DB int
// Maximum number of retries before giving up.
// Default is 3 retries.
// Default is 3 retries; -1 (not 0) disables retries.
MaxRetries int
// Minimum backoff between each retry.
// Default is 8 milliseconds; -1 disables backoff.