mirror of
https://github.com/mastodon/mastodon.git
synced 2025-05-12 04:31: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?
|
||||
|
||||
Chewy.settings = {
|
||||
host: "#{host}:#{port}",
|
||||
host: host,
|
||||
port: port.to_i,
|
||||
prefix: prefix,
|
||||
enabled: enabled,
|
||||
journal: false,
|
||||
|
|
Loading…
Reference in New Issue
Block a user