Skip to content

Commit

Permalink
used strict pool
Browse files Browse the repository at this point in the history
  • Loading branch information
chernser committed Aug 17, 2024
1 parent c67a7aa commit 6b6dff3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private CloseableHttpClient newConnection(ClickHouseConfig c) throws IOException
}
}
log.info("Connection reuse strategy: %s", poolReusePolicy.name());
HttpConnectionManager connManager = new HttpConnectionManager(r.build(), c, PoolConcurrencyPolicy.LAX,
HttpConnectionManager connManager = new HttpConnectionManager(r.build(), c, PoolConcurrencyPolicy.STRICT,
poolReusePolicy, TimeValue.ofMilliseconds(connectionTTL));
int maxConnection = config.getIntOption(ClickHouseHttpOption.MAX_OPEN_CONNECTIONS);

Expand Down

0 comments on commit 6b6dff3

Please sign in to comment.