Skip to content

Commit

Permalink
BUG/MINOR: use correct value for upstreams read timeout
Browse files Browse the repository at this point in the history
It was incorreclty using connect timeout value instead
  • Loading branch information
ShimmerGlass committed Oct 1, 2020
1 parent 01c2993 commit 9a9566b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consul/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ func (w *Watcher) genCfg() Config {
LocalBindPort: up.LocalBindPort,
Protocol: up.Protocol,
ConnectTimeout: up.ConnectTimeout,
ReadTimeout: up.ConnectTimeout,
ReadTimeout: up.ReadTimeout,
TLS: TLS{
CAs: w.certCAs,
Cert: w.leaf.Cert,
Expand Down

0 comments on commit 9a9566b

Please sign in to comment.