debian-mirror-gitlab/app/workers/gitlab_shell_worker.rb

11 lines
196 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
class GitlabShellWorker
include Sidekiq::Worker
include Gitlab::ShellAdapter
sidekiq_options queue: :gitlab_shell
def perform(action, *arg)
gitlab_shell.send(action, *arg)
end
end