summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-07-15 11:34:23 +0200
committerJames Lopez <james@jameslopez.es>2016-07-18 09:23:41 +0200
commit785043841873f120e8e26da706060500b4a333a6 (patch)
tree941ac11029605f729ebeee4bc83bedf5daf9a1b4 /app/workers
parent1bf57b75119deb79f5826245d4c69a0a83cc4864 (diff)
downloadgitlab-ce-785043841873f120e8e26da706060500b4a333a6.tar.gz
limit project expor retry to only 3
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/project_export_worker.rb2
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)