File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- 3.7.74
1+ 3.7.75
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ class Connection
6565 ]
6666
6767 RETRY_TIME_INITIAL_VALUE = 1
68- RETRY_TIME_COEFFICIENT = 1.5
68+ RETRY_TIME_COEFFICIENT = 2
6969 RETRYABLE_ERRORS << Net ::ReadTimeout if Net . const_defined? ( :ReadTimeout )
7070
7171 RETRYABLE_ERRORS << OpenSSL ::SSL ::SSLErrorWaitReadable if OpenSSL ::SSL . const_defined? ( :SSLErrorWaitReadable )
@@ -94,7 +94,7 @@ def generate_string(length = ID_LENGTH)
9494
9595 # Retry block if exception thrown
9696 def retryable ( options = { } , &_block )
97- opts = { :tries => 17 , :on => RETRYABLE_ERRORS } . merge ( options )
97+ opts = { :tries => 12 , :on => RETRYABLE_ERRORS } . merge ( options )
9898
9999 retry_exception = opts [ :on ]
100100 retries = opts [ :tries ]
You can’t perform that action at this time.
0 commit comments