summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRyan LaNeve <ryan.laneve@aciss.com>2013-01-24 15:15:24 -0500
committerRyan LaNeve <ryan.laneve@aciss.com>2013-01-25 10:42:57 -0500
commit8a65229b3548a421ca6e7c41a819b40d50f7e162 (patch)
treeb762df8aa5346c9b8b069d61e95b4c764445a24a /lib
parent639b0a8715074a166eb9ef4252e4f2b5ae5e2c84 (diff)
downloadgitlab-ce-8a65229b3548a421ca6e7c41a819b40d50f7e162.tar.gz
Updates project to process web hooks async via sidekiq.
A new queue of "project_web_hook" is used to process web hooks asynchronously, allowing each to succeed/fail (and be retried) independently. (Basically, project web hooks now process the same as system hooks.)
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/sidekiq.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/sidekiq.rake b/lib/tasks/sidekiq.rake
index 01da919d7f8..0d2ec6f332c 100644
--- a/lib/tasks/sidekiq.rake
+++ b/lib/tasks/sidekiq.rake
@@ -6,7 +6,7 @@ namespace :sidekiq do
desc "GITLAB | Start sidekiq"
task :start do
- run "nohup bundle exec sidekiq -q post_receive,mailer,system_hook,common,default -e #{Rails.env} -P #{pidfile} >> #{Rails.root.join("log", "sidekiq.log")} 2>&1 &"
+ run "nohup bundle exec sidekiq -q post_receive,mailer,system_hook,project_web_hook,common,default -e #{Rails.env} -P #{pidfile} >> #{Rails.root.join("log", "sidekiq.log")} 2>&1 &"
end
def pidfile