Use seconds for consistency with rest of project

This commit is contained in:
Filipe Varela 2017-06-08 09:04:32 +01:00 committed by Oliver Beattie
parent c6da462479
commit cb08e543cb
1 changed files with 1 additions and 1 deletions

View File

@ -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 {