lib/elasticsearch/transport/client.rb in elasticsearch-transport-0.4.9 vs lib/elasticsearch/transport/client.rb in elasticsearch-transport-0.4.10

- old
+ new

@@ -78,9 +78,10 @@ arguments[:tracer] ||= arguments[:trace] ? DEFAULT_TRACER.call() : nil arguments[:reload_connections] ||= false arguments[:retry_on_failure] ||= false arguments[:reload_on_failure] ||= false arguments[:randomize_hosts] ||= false + arguments[:transport_options] ||= {} @transport = arguments[:transport] || \ transport_class.new(:hosts => __extract_hosts(hosts, arguments), :options => arguments) end