Files
gitlabhq/app/workers/gitlab_shell_one_shot_worker.rb
T
Robert SpeicherandRémy Coutable c7f3bee7ff Merge branch 'no-gc-retry' into 'master'
Do not retry "git gc"

To prevent 'git gc' timing out on a large repo and then bouncing
around in the retry queue.

See merge request !3266
2016-03-21 12:37:20 +01:00

11 lines
217 B
Ruby

class GitlabShellOneShotWorker
include Sidekiq::Worker
include Gitlab::ShellAdapter
sidekiq_options queue: :gitlab_shell, retry: false
def perform(action, *arg)
gitlab_shell.send(action, *arg)
end
end