diff --git a/config/initializers/elasticsearch.rb b/config/initializers/elasticsearch.rb new file mode 100644 index 0000000000000000000000000000000000000000..e591a06b27196300668419e7f35019e6aef8f257 --- /dev/null +++ b/config/initializers/elasticsearch.rb @@ -0,0 +1,6 @@ +Searchkick.client = + Elasticsearch::Client.new( + url: 'localhost:9200', + transport_options: {request: {timeout: 550}} + ) +