limit project expor retry to only 3

This commit is contained in:
James Lopez 2016-07-15 11:34:23 +02:00
parent 1bf57b7511
commit 7850438418
1 changed files with 1 additions and 1 deletions

View File

@ -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)