From 0d3fb097adc502c42f2e60feea693fb655a05264 Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Thu, 29 May 2014 11:50:03 -0500 Subject: [PATCH] increased the timeout for cassandra to 2 secs for .6 secs --- index/storage_cass.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index/storage_cass.go b/index/storage_cass.go index a8d7e168a..56a8ac804 100644 --- a/index/storage_cass.go +++ b/index/storage_cass.go @@ -36,6 +36,8 @@ func NewCassStorage(hosts []string, keyspace string) Storage { cluster.Keyspace = keyspace //cluster.Consistency = gocql.Quorum cluster.Consistency = gocql.One + cluster.Consistency = gocql.One + cluster.Timeout = 3 * time.Second //cluster.ProtoVersion = 1 // cluster.CQLVersion = "3.0.0" session, err := cluster.CreateSession()