aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2021-08-29 11:27:28 +0200
committerMartin Stockhammer <martin_s@apache.org>2021-08-29 11:27:28 +0200
commit502280dbbdc9ff31183183400b71bb98e770789f (patch)
tree153d62bdbe8fce31dfba5575302ed9207dcf0ca0 /archiva-modules
parent5b76e6d74f1decf5233f7bb72b0c1568b4a18508 (diff)
downloadarchiva-502280dbbdc9ff31183183400b71bb98e770789f.tar.gz
archiva-502280dbbdc9ff31183183400b71bb98e770789f.zip
Trying to increase the driver timeout for cassandra
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/metadata/metadata-store-provider/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/DefaultCassandraArchivaManager.java1
1 files changed, 1 insertions, 0 deletions
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( );
{