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