Is it possible to set the timeoutFaraday transport property when creating Ruby Elasticsearch::Client? It is possible to pass a block during instance initialization Elasticsearch::Transport::Transport::Faraday, but when trying below we only get an empty set of connections from __build_connections:
transport = Elasticsearch::Transport::Transport::HTTP::Faraday.new do |connection|
end
Any suggestions on how we should implement this block to set a timeout?
source
share