Resque must be running in the own namespace

This commit is contained in:
Alexander Simonov 2012-11-20 18:59:00 +02:00
parent 10d8b77b50
commit 18bc873d53
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ if File.exists?(config_file)
resque_config = YAML.load_file(config_file)
Resque.redis = resque_config[Rails.env]
end
Resque.redis.namespace = 'resque:gitlab'
# Queues
Resque.watch_queue(PostReceive.instance_variable_get("@queue"))