mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 22:59:19 +10:00
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
11 lines
217 B
Ruby
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
|