Join GitHub today
Disable reload_connections behavior? #164
Is is possible with the gem to entirely disable sniffing /
Use case: we run ES on AWS, and access it through an ELB. We can't access individual machines from the other side of the load balancer, so we want to disable sniffing altogether and force all connections to go via the hostname we give to the client explicitly.
@simpsora Hi, sorry for the delay! The
client = Elasticsearch::Client.new reload_connections: false # ...
But I think the code was really confusing in that place, so I've refactored that in the attached commit. Please let me know if you can work with it like this on AWS. Thanks!