diff options
Diffstat (limited to 'app/workers/gitlab/import/advance_stage.rb')
-rw-r--r-- | app/workers/gitlab/import/advance_stage.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/workers/gitlab/import/advance_stage.rb b/app/workers/gitlab/import/advance_stage.rb index 709957556d3..ccd5f906462 100644 --- a/app/workers/gitlab/import/advance_stage.rb +++ b/app/workers/gitlab/import/advance_stage.rb @@ -3,6 +3,8 @@ module Gitlab module Import module AdvanceStage + extend ActiveSupport::Concern + INTERVAL = 30.seconds.to_i TIMEOUT_DURATION = 2.hours @@ -12,6 +14,11 @@ module Gitlab # continuing to the next waiter. BLOCKING_WAIT_TIME = 5 + included do + sidekiq_options dead: false, retry: 6 + feature_category :importers + end + # project_id - The ID of the project being imported. # waiters - A Hash mapping Gitlab::JobWaiter keys to the number of # remaining jobs. |