gitlab-org--gitlab-foss/app/workers/gitlab_shell_worker.rb

10 lines
188 B
Ruby
Raw Normal View History

2013-02-11 12:27:26 -05:00
class GitlabShellWorker
include Sidekiq::Worker
include Gitlab::ShellAdapter
include DedicatedSidekiqQueue
2013-01-28 14:02:10 -05:00
def perform(action, *arg)
2013-02-11 12:16:59 -05:00
gitlab_shell.send(action, *arg)
end
end