Skip to content

Commit 5a6faa2

Browse files
committed
fix: connection pool timeout, increase retries
Signed-off-by: monkey <[email protected]>
1 parent 8fadbef commit 5a6faa2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

error.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ func shouldRetry(err error, retryTimeout bool) bool {
5353
return true
5454
case nil, context.Canceled, context.DeadlineExceeded:
5555
return false
56+
case pool.ErrPoolTimeout:
57+
// connection pool timeout, increase retries. #3289
58+
return true
5659
}
5760

5861
if v, ok := err.(timeoutError); ok {

0 commit comments

Comments
 (0)