diff --git a/VERSION b/VERSION index d87ab0265..326e2acf6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.7.74 +3.7.75 diff --git a/lib/gooddata/rest/connection.rb b/lib/gooddata/rest/connection.rb index 71b5ac8d7..4a847ab82 100644 --- a/lib/gooddata/rest/connection.rb +++ b/lib/gooddata/rest/connection.rb @@ -65,7 +65,7 @@ class Connection ] RETRY_TIME_INITIAL_VALUE = 1 - RETRY_TIME_COEFFICIENT = 1.5 + RETRY_TIME_COEFFICIENT = 2 RETRYABLE_ERRORS << Net::ReadTimeout if Net.const_defined?(:ReadTimeout) RETRYABLE_ERRORS << OpenSSL::SSL::SSLErrorWaitReadable if OpenSSL::SSL.const_defined?(:SSLErrorWaitReadable) @@ -94,7 +94,7 @@ def generate_string(length = ID_LENGTH) # Retry block if exception thrown def retryable(options = {}, &_block) - opts = { :tries => 17, :on => RETRYABLE_ERRORS }.merge(options) + opts = { :tries => 12, :on => RETRYABLE_ERRORS }.merge(options) retry_exception = opts[:on] retries = opts[:tries]