From cb08e543cbfa96e08ba94b1dc1e9f2b1329e6f11 Mon Sep 17 00:00:00 2001 From: Filipe Varela Date: Thu, 8 Jun 2017 09:04:32 +0100 Subject: [PATCH] Use seconds for consistency with rest of project --- physical/cassandra.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/physical/cassandra.go b/physical/cassandra.go index dcc461196..e90770952 100644 --- a/physical/cassandra.go +++ b/physical/cassandra.go @@ -101,7 +101,7 @@ func newCassandraBackend(conf map[string]string, logger log.Logger) (Backend, er if err != nil { return nil, fmt.Errorf("'connection_timeout' must be an integer") } - cluster.Timeout = time.Duration(connectionTimeout) * time.Millisecond + cluster.Timeout = time.Duration(connectionTimeout) * time.Second } if err := setupCassandraTLS(conf, cluster); err != nil {