Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab_shell_worker.rb « workers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cfeda88bbc5c6ceaef5d19215cf32b1dc77aa131 (plain)
1
2
3
4
5
6
7
8
9
10
class GitlabShellWorker
  include Sidekiq::Worker
  include Gitlab::ShellAdapter

  sidekiq_options queue: :gitlab_shell

  def perform(action, *arg)
    gitlab_shell.send(action, *arg)
  end
end