From 131c8b8c90e8cc0e972dac8a657227bd65780e27 Mon Sep 17 00:00:00 2001 From: pankaj Date: Wed, 29 Jun 2022 12:40:12 +0530 Subject: [PATCH] Changes for cassandra timeout --- src/main/resources/application.properties | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 5d4efc9..f9a9d68 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -25,8 +25,11 @@ cassandra.port=${CASSANDRA_PORT} keyspace-name=${CASSANDRA_KEYSPACE} spring.data.cassandra.local-datacenter=datacenter1 logging.level.root=INFO -spring.data.cassandra.connect-timeout=10000ms -spring.data.cassandra.read-timeout=10000ms +spring.data.cassandra.request.timeout=120000 +spring.data.cassandra.connect-timeout-millis=10000 +spring.data.cassandra.read-timeout-millis=10000 +spring.data.cassandra.connect-timeout=10000 +spring.data.cassandra.read-timeout=10000 spring.data.cassandra.pool.heartbeat-interval=30s spring.data.cassandra.pool.max-queue-size=2000 spring.data.cassandra.pool.idle-timeout=20s