From 9c56dbd862a2d483f52086519b0a331ee441cf98 Mon Sep 17 00:00:00 2001 From: = Date: Mon, 28 Dec 2020 14:47:46 -0800 Subject: [PATCH] add disable/-1 comment to max retries --- options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.go b/options.go index 27d59b27..7a020024 100644 --- a/options.go +++ b/options.go @@ -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.