mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: allow use of redis sentinel via redis_sentinels
Use: DISCOURSE_REDIS_SENTINELS and DISCOURSE_REDIS_HOST to configure redis sentinel
This commit is contained in:
@@ -354,7 +354,9 @@ module Discourse
|
||||
end
|
||||
|
||||
def self.sidekiq_redis_config
|
||||
{ url: $redis.url, namespace: 'sidekiq' }
|
||||
conf = GlobalSetting.redis_config.dup
|
||||
conf[:namespace] = 'sidekiq'
|
||||
conf
|
||||
end
|
||||
|
||||
def self.static_doc_topic_ids
|
||||
|
||||
Reference in New Issue
Block a user