gitlabhq/app/workers/gitolite_worker.rb
2013-01-28 21:02:10 +02:00

11 lines
174 B
Ruby

class GitoliteWorker
include Sidekiq::Worker
include Gitolited
sidekiq_options queue: :gitolite
def perform(action, *arg)
gitolite.send(action, *arg)
end
end