Do gitolite calls async. Remove satellite with project remove
This commit is contained in:
parent
b4f16faafd
commit
1c5876eb7b
12 changed files with 90 additions and 52 deletions
10
app/workers/gitolite_worker.rb
Normal file
10
app/workers/gitolite_worker.rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
class GitoliteWorker
|
||||
include Sidekiq::Worker
|
||||
include Gitolited
|
||||
|
||||
sidekiq_options queue: :gitolite
|
||||
|
||||
def perform(action, arg)
|
||||
gitolite.send(action, arg)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue