Skip to content
Snippets Groups Projects
Commit 94bd948a authored by Gabe Conradi's avatar Gabe Conradi
Browse files

fix timeout bug for etcd3 client connect

parent 036e5d05
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ func (p *Etcd) Open(logger logrus.FieldLogger) (storage.Storage, error) {
func (p *Etcd) open(logger logrus.FieldLogger) (*conn, error) {
cfg := clientv3.Config{
Endpoints: p.Endpoints,
DialTimeout: defaultDialTimeout * time.Second,
DialTimeout: defaultDialTimeout,
Username: p.Username,
Password: p.Password,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment