diff options
author | James Lopez <james@jameslopez.es> | 2016-07-15 12:34:23 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-07-18 10:23:41 +0300 |
commit | 785043841873f120e8e26da706060500b4a333a6 (patch) | |
tree | 941ac11029605f729ebeee4bc83bedf5daf9a1b4 /app/workers/project_export_worker.rb | |
parent | 1bf57b75119deb79f5826245d4c69a0a83cc4864 (diff) |
limit project expor retry to only 3
Diffstat (limited to 'app/workers/project_export_worker.rb')
-rw-r--r-- | app/workers/project_export_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/project_export_worker.rb b/app/workers/project_export_worker.rb index 39f6037e077..615311e63f5 100644 --- a/app/workers/project_export_worker.rb +++ b/app/workers/project_export_worker.rb @@ -1,7 +1,7 @@ class ProjectExportWorker include Sidekiq::Worker - sidekiq_options queue: :gitlab_shell, retry: true + sidekiq_options queue: :gitlab_shell, retry: 3 def perform(current_user_id, project_id) current_user = User.find(current_user_id) |