http-aws-es icon indicating copy to clipboard operation
http-aws-es copied to clipboard

Add keep alive parameter

Open rangoo94 opened this issue 7 years ago • 0 comments

There is kept connection alive, but actually I don't know what it's a purpose here if this connection is not reused anyway. As first step I added keepAlive parameter which is by default true to keep backward compatibility.

The biggest problem is when you make a lot of requests to ES - you still have all connections from before, so after connections pool is full, "No Living connections" error will be thrown from ElasticSearch.

rangoo94 avatar May 19 '17 10:05 rangoo94