1
0
Fork 0
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:
Joshix 2024-02-16 20:00:00 +00:00
parent 96ddf1d482
commit 6a8b3c7ca9

View file

@ -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,