Drop redis namespace code (except for Rails cache) (#34665)
This commit is contained in:
parent
f94b1fce41
commit
6d6263ce07
5 changed files with 10 additions and 66 deletions
|
@ -5,8 +5,7 @@ host = ENV.fetch('ES_HOST') { 'localhost' }
|
|||
port = ENV.fetch('ES_PORT') { 9200 }
|
||||
user = ENV.fetch('ES_USER', nil).presence
|
||||
password = ENV.fetch('ES_PASS', nil).presence
|
||||
fallback_prefix = ENV.fetch('REDIS_NAMESPACE', nil).presence
|
||||
prefix = ENV.fetch('ES_PREFIX') { fallback_prefix }
|
||||
prefix = ENV.fetch('ES_PREFIX', nil)
|
||||
ca_file = ENV.fetch('ES_CA_FILE', nil).presence
|
||||
|
||||
transport_options = { ssl: { ca_file: ca_file } } if ca_file.present?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue