Trying to increase the driver timeout for cassandra

This commit is contained in:
Martin Stockhammer 2021-08-29 11:27:28 +02:00
parent 5b76e6d74f
commit 502280dbbd
1 changed files with 1 additions and 0 deletions

View File

@ -185,6 +185,7 @@ public class DefaultCassandraArchivaManager
.withInt( DefaultDriverOption.CONNECTION_POOL_REMOTE_SIZE, maxActive ) .withInt( DefaultDriverOption.CONNECTION_POOL_REMOTE_SIZE, maxActive )
//.withInt( DefaultDriverOption.CONNECTION_MAX_REQUESTS, maxActive ) //.withInt( DefaultDriverOption.CONNECTION_MAX_REQUESTS, maxActive )
.withString( DefaultDriverOption.REQUEST_CONSISTENCY, readConsistencyLevel ) .withString( DefaultDriverOption.REQUEST_CONSISTENCY, readConsistencyLevel )
.withInt( DefaultDriverOption.REQUEST_TIMEOUT, 10 )
.build( ); .build( );
{ {