gitlab-org--gitlab-foss/app/workers/gitlab_shell_worker.rb
2013-03-21 21:01:14 +02:00

10 lines
196 B
Ruby

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