Resque must be running in the own namespace
This commit is contained in:
parent
10d8b77b50
commit
18bc873d53
1 changed files with 1 additions and 1 deletions
|
@ -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"))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue