Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
set connection reuse log to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Raj Sarkapally committed Jun 5, 2018
1 parent 46f4bcc commit 3d2fc96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ public TSDBReadConnectionReuseStrategy(int connectionReuseCount) {
@Override
public boolean keepAlive(HttpResponse response, HttpContext context) {
HttpClientContext httpContext = (HttpClientContext) context;
_logger.error("http connection {} reused for {} times", httpContext.getConnection(), httpContext.getConnection().getMetrics().getRequestCount());
_logger.debug("http connection {} reused for {} times", httpContext.getConnection(), httpContext.getConnection().getMetrics().getRequestCount());
if (numOfTimesReused.getAndIncrement() % connectionReuseCount == 0) {
numOfTimesReused.set(1);
return false;
Expand Down

0 comments on commit 3d2fc96

Please sign in to comment.