Skip to content

Commit b3e0aa2

Browse files
authored
Merge pull request #1589 from williamkinney/maxretry
add disable/-1 comment to max retries
2 parents 72e5988 + 9c56dbd commit b3e0aa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ type Options struct {
5858
DB int
5959

6060
// Maximum number of retries before giving up.
61-
// Default is 3 retries.
61+
// Default is 3 retries; -1 (not 0) disables retries.
6262
MaxRetries int
6363
// Minimum backoff between each retry.
6464
// Default is 8 milliseconds; -1 disables backoff.

0 commit comments

Comments
 (0)