mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 00:55:55 +00:00
increased the timeout for cassandra to 2 secs for .6 secs
This commit is contained in:
parent
bdbc2b1621
commit
0d3fb097ad
1 changed files with 2 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue