mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 20:56:08 +10:00
11 lines
196 B
Ruby
11 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
|