lib/waistband/configuration.rb in waistband-0.9.2 vs lib/waistband/configuration.rb in waistband-0.9.3

- old
+ new

@@ -44,10 +44,16 @@ def client Elasticsearch::Client.new( hosts: hosts, randomize_hosts: true, retry_on_failure: retries, - reload_on_failure: reload_on_failure + reload_on_failure: reload_on_failure, + transport_options: { + request: { + open_timeout: @yml_config['timeout'], + timeout: @yml_config['timeout'] + } + } ) end private