gitlabhq/app/workers/gitlab_shell_worker.rb

11 lines
185 B
Ruby
Raw Normal View History

2013-02-11 18:27:26 +01:00
class GitlabShellWorker
include Sidekiq::Worker
include Gitolited
2013-02-11 18:16:59 +01:00
sidekiq_options queue: :gitlab_shell
2013-01-28 20:02:10 +01:00
def perform(action, *arg)
2013-02-11 18:16:59 +01:00
gitlab_shell.send(action, *arg)
end
end