From 502280dbbdc9ff31183183400b71bb98e770789f Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Sun, 29 Aug 2021 11:27:28 +0200 Subject: [PATCH] Trying to increase the driver timeout for cassandra --- .../repository/cassandra/DefaultCassandraArchivaManager.java | 1 + 1 file changed, 1 insertion(+) 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( ); { -- 2.39.5