Unverified Commit 666356d2 authored by Stephan Renatus's avatar Stephan Renatus Committed by GitHub

Merge pull request #1266 from byxorna/gabe/fix-etcd-timeout-bug

fix timeout bug for etcd3 client connect
parents 4a6da130 94bd948a
......@@ -43,7 +43,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,
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment