Commit 18bc873d53e79ef947b4d3fd66413c32e29fc1cb
1 parent
10d8b77b
Exists in
master
and in
4 other branches
Resque must be running in the own namespace
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
config/initializers/4_resque.rb
@@ -5,7 +5,7 @@ if File.exists?(config_file) | @@ -5,7 +5,7 @@ if File.exists?(config_file) | ||
5 | resque_config = YAML.load_file(config_file) | 5 | resque_config = YAML.load_file(config_file) |
6 | Resque.redis = resque_config[Rails.env] | 6 | Resque.redis = resque_config[Rails.env] |
7 | end | 7 | end |
8 | - | 8 | +Resque.redis.namespace = 'resque:gitlab' |
9 | # Queues | 9 | # Queues |
10 | Resque.watch_queue(PostReceive.instance_variable_get("@queue")) | 10 | Resque.watch_queue(PostReceive.instance_variable_get("@queue")) |
11 | 11 |