title: Set Faraday Timeout in Ruby ElasticSearch Client
body: <p>Is it possible to set the <code>timeout</code> property of a Faraday transport when creating a Ruby <code>Elasticsearch::Client</code>? There is the scope to pass a block when initializing an <code>Elasticsearch::Transport::Transport::Faraday</code> instance, but when trying the below we only ever get an empty set of connections back from <code>__build_connections</code>:</p>
  
  <pre><code>transport = Elasticsearch::Transport::Transport::HTTP::Faraday.new do |connection|
    # connection.timeout = 1 # ???
  end
  </code></pre>
  
  <p>Any suggestions as to how we should implement this block to set the timeout?</p>