diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 18:40:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 18:40:28 +0300 |
commit | b595cb0c1dec83de5bdee18284abe86614bed33b (patch) | |
tree | 8c3d4540f193c5ff98019352f554e921b3a41a72 /lib/bulk_imports/network_error.rb | |
parent | 2f9104a328fc8a4bddeaa4627b595166d24671d0 (diff) |
Add latest changes from gitlab-org/gitlab@15-2-stable-eev15.2.0-rc42
Diffstat (limited to 'lib/bulk_imports/network_error.rb')
-rw-r--r-- | lib/bulk_imports/network_error.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bulk_imports/network_error.rb b/lib/bulk_imports/network_error.rb index d69b0172f6c..3514291a75d 100644 --- a/lib/bulk_imports/network_error.rb +++ b/lib/bulk_imports/network_error.rb @@ -7,9 +7,9 @@ module BulkImports RETRIABLE_EXCEPTIONS = Gitlab::HTTP::HTTP_TIMEOUT_ERRORS RETRIABLE_HTTP_CODES = [429].freeze - DEFAULT_RETRY_DELAY_SECONDS = 60 + DEFAULT_RETRY_DELAY_SECONDS = 30 - MAX_RETRIABLE_COUNT = 3 + MAX_RETRIABLE_COUNT = 10 def initialize(message = nil, response: nil) raise ArgumentError, 'message or response required' if message.blank? && response.blank? |