increased the timeout for cassandra to 2 secs for .6 secs

This commit is contained in:
Todd Gruben 2014-05-29 11:50:03 -05:00
parent bdbc2b1621
commit 0d3fb097ad

View file

@ -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()