default retries is always 0
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
c6fd9c1c23
commit
c7ed807129
@ -102,7 +102,7 @@ var (
|
|||||||
// DefaultRetry is the default check-for-retry function for retries
|
// DefaultRetry is the default check-for-retry function for retries
|
||||||
DefaultRetry = RetryOnError
|
DefaultRetry = RetryOnError
|
||||||
// DefaultRetries is the default number of times a request is tried
|
// DefaultRetries is the default number of times a request is tried
|
||||||
DefaultRetries = 1
|
DefaultRetries = 0
|
||||||
// DefaultRequestTimeout is the default request timeout
|
// DefaultRequestTimeout is the default request timeout
|
||||||
DefaultRequestTimeout = time.Second * 5
|
DefaultRequestTimeout = time.Second * 5
|
||||||
// DefaultPoolSize sets the connection pool size
|
// DefaultPoolSize sets the connection pool size
|
||||||
|
Loading…
Reference in New Issue
Block a user