add disable/-1 comment to max retries

This commit is contained in:
= 2020-12-28 14:47:46 -08:00
parent 72e5988b6e
commit 9c56dbd862
1 changed files with 1 additions and 1 deletions

View File

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