Use seconds for consistency with rest of project
This commit is contained in:
parent
c6da462479
commit
cb08e543cb
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue