From 9696dff6e211fa178860d4ead8bc6f98473ea276 Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Mon, 23 Jan 2012 09:46:59 +0100 Subject: [PATCH] Added initializer to force Resque to wath the post_receive queue --- config/initializers/gitlabhq/30_resque_queues.rb | 1 + 1 file changed, 1 insertion(+) create mode 100644 config/initializers/gitlabhq/30_resque_queues.rb diff --git a/config/initializers/gitlabhq/30_resque_queues.rb b/config/initializers/gitlabhq/30_resque_queues.rb new file mode 100644 index 00000000000..5b0087ab025 --- /dev/null +++ b/config/initializers/gitlabhq/30_resque_queues.rb @@ -0,0 +1 @@ +Resque.watch_queue(PostReceive.instance_variable_get("@queue"))