mirror of
https://github.com/mastodon/mastodon.git
synced 2025-05-16 14:41:11 +00:00
improve Elasticsearch configuration handling
This commit is contained in:
parent
96ddf1d482
commit
6a8b3c7ca9
|
@ -12,7 +12,8 @@ ca_file = ENV.fetch('ES_CA_FILE', nil).presence
|
||||||
transport_options = { ssl: { ca_file: ca_file } } if ca_file.present?
|
transport_options = { ssl: { ca_file: ca_file } } if ca_file.present?
|
||||||
|
|
||||||
Chewy.settings = {
|
Chewy.settings = {
|
||||||
host: "#{host}:#{port}",
|
host: host,
|
||||||
|
port: port.to_i,
|
||||||
prefix: prefix,
|
prefix: prefix,
|
||||||
enabled: enabled,
|
enabled: enabled,
|
||||||
journal: false,
|
journal: false,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user