Skip to content
Snippets Groups Projects
Unverified Commit 666356d2 authored by Stephan Renatus's avatar Stephan Renatus Committed by GitHub
Browse files

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

fix timeout bug for etcd3 client connect
parents 4a6da130 94bd948a
No related branches found
No related tags found
No related merge requests found
......@@ -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,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment