Commit 18bc873d authored by Alexander Simonov's avatar Alexander Simonov

Resque must be running in the own namespace

parent 10d8b77b
...@@ -5,7 +5,7 @@ if File.exists?(config_file) ...@@ -5,7 +5,7 @@ if File.exists?(config_file)
resque_config = YAML.load_file(config_file) resque_config = YAML.load_file(config_file)
Resque.redis = resque_config[Rails.env] Resque.redis = resque_config[Rails.env]
end end
Resque.redis.namespace = 'resque:gitlab'
# Queues # Queues
Resque.watch_queue(PostReceive.instance_variable_get("@queue")) Resque.watch_queue(PostReceive.instance_variable_get("@queue"))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment