From: Martin Stockhammer Date: Sun, 29 Aug 2021 09:27:28 +0000 (+0200) Subject: Trying to increase the driver timeout for cassandra X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=502280dbbdc9ff31183183400b71bb98e770789f;p=archiva.git Trying to increase the driver timeout for cassandra --- diff --git a/archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/DefaultCassandraArchivaManager.java b/archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/DefaultCassandraArchivaManager.java index 7678031ef..5b5da70e3 100644 --- a/archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/DefaultCassandraArchivaManager.java +++ b/archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/DefaultCassandraArchivaManager.java @@ -185,6 +185,7 @@ public class DefaultCassandraArchivaManager .withInt( DefaultDriverOption.CONNECTION_POOL_REMOTE_SIZE, maxActive ) //.withInt( DefaultDriverOption.CONNECTION_MAX_REQUESTS, maxActive ) .withString( DefaultDriverOption.REQUEST_CONSISTENCY, readConsistencyLevel ) + .withInt( DefaultDriverOption.REQUEST_TIMEOUT, 10 ) .build( ); {