mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
improve Elasticsearch configuration handling
This commit is contained in:
parent
96ddf1d482
commit
6a8b3c7ca9
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue