Skip to content

Commit

Permalink
Merge pull request dexidp#1266 from byxorna/gabe/fix-etcd-timeout-bug
Browse files Browse the repository at this point in the history
fix timeout bug for etcd3 client connect
  • Loading branch information
srenatus authored Sep 10, 2018
2 parents 3df0b9c + 5f9fb59 commit d62903d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/etcd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down

0 comments on commit d62903d

Please sign in to comment.