Fix reading of redis namespace from config
Changed default to nil to not screw users running develop already
This commit is contained in:
parent
fdff9c8b8a
commit
c41db6634c
2 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ defaults:
|
||||||
require_ssl: true
|
require_ssl: true
|
||||||
single_process_mode: false
|
single_process_mode: false
|
||||||
sidekiq:
|
sidekiq:
|
||||||
namespace: "diaspora"
|
namespace:
|
||||||
concurrency: 5
|
concurrency: 5
|
||||||
retry: 10
|
retry: 10
|
||||||
backtrace: 15
|
backtrace: 15
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ module Configuration
|
||||||
redis_options[:url] = redis_url
|
redis_options[:url] = redis_url
|
||||||
end
|
end
|
||||||
|
|
||||||
redis_options[:namespace] = AppConfig.environment.sidekiq_namespace.get
|
redis_options[:namespace] = AppConfig.environment.sidekiq.namespace.get
|
||||||
|
|
||||||
redis_options
|
redis_options
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue