From a841c0ea44deb3c9249dc84bea3ee3966c23baa5 Mon Sep 17 00:00:00 2001 From: Todd Gruben Date: Thu, 18 Dec 2014 22:33:07 +0000 Subject: [PATCH] updated cql driver --- deps.json | 4 ++-- index/storage_cass.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deps.json b/deps.json index 31a8530a2..a662fa67b 100644 --- a/deps.json +++ b/deps.json @@ -21,12 +21,12 @@ }, "gocql": { "repo": "github.com/gocql/gocql", - "version": "f09085c7ba26b10decf01d8aaa5a7022720642ca", + "version": "fbad3bab5a1044b1eeb586d79e5f06df39861e2a", "type": "git" }, "goleveldb": { "repo": "github.com/syndtr/goleveldb/leveldb", - "version": "ff3719c6816e2cd194f05058452d660608e178ac", + "version": "63c9e642efad852f49e20a6f90194cae112fd2ac", "type": "git" }, "google-crypto": { diff --git a/index/storage_cass.go b/index/storage_cass.go index dc29a1894..1cab65783 100644 --- a/index/storage_cass.go +++ b/index/storage_cass.go @@ -31,7 +31,7 @@ func init() { cluster.Keyspace = keyspace cluster.Consistency = gocql.One cluster.Timeout = 5 * time.Second - cluster.RetryPolicy = gocql.RetryPolicy{NumRetries: 10} + cluster.RetryPolicy = &gocql.SimpleRetryPolicy{NumRetries: 10} } func BuildSchema() {