From 3e8f096a9c7b9bf170761e417188c312e002b35b Mon Sep 17 00:00:00 2001 From: Dmitry Kropachev Date: Wed, 5 Jul 2023 07:16:14 -0400 Subject: [PATCH] fix(root): fix oracle timeout --- cmd/gemini/root.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/gemini/root.go b/cmd/gemini/root.go index 8e2c76a3..5508e00f 100644 --- a/cmd/gemini/root.go +++ b/cmd/gemini/root.go @@ -379,8 +379,8 @@ func createClusters( return testCluster, nil } oracleCluster := gocql.NewCluster(oracleClusterHost...) - testCluster.Timeout = requestTimeout - testCluster.ConnectTimeout = connectTimeout + oracleCluster.Timeout = requestTimeout + oracleCluster.ConnectTimeout = connectTimeout oracleCluster.RetryPolicy = retryPolicy oracleCluster.Consistency = consistency oracleCluster.PoolConfig.HostSelectionPolicy = oracleHostSelectionPolicy