mirror of https://github.com/apache/archiva.git
Trying to increase the driver timeout for cassandra
This commit is contained in:
parent
5b76e6d74f
commit
502280dbbd
|
@ -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( );
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue