2013-02-11 12:27:26 -05:00
|
|
|
class GitlabShellWorker
|
2013-01-28 10:22:45 -05:00
|
|
|
include Sidekiq::Worker
|
2013-03-21 15:01:14 -04:00
|
|
|
include Gitlab::ShellAdapter
|
2016-10-21 12:13:41 -04:00
|
|
|
include DedicatedSidekiqQueue
|
2013-01-28 10:22:45 -05:00
|
|
|
|
2013-01-28 14:02:10 -05:00
|
|
|
def perform(action, *arg)
|
2017-08-10 12:39:26 -04:00
|
|
|
gitlab_shell.__send__(action, *arg) # rubocop:disable GitlabSecurity/PublicSend
|
2013-01-28 10:22:45 -05:00
|
|
|
end
|
|
|
|
end
|