Skip to content

Commit

Permalink
Address #8010 by increasing the default srv_topo_timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Jacques Grove <[email protected]>
  • Loading branch information
aquarapid committed Apr 30, 2021
1 parent 482a700 commit fa8a209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/srvtopo/resilient_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var (
// setting the watch fails, we will use the last known value until
// srv_topo_cache_ttl elapses and we only try to re-establish the watch
// once every srv_topo_cache_refresh interval.
srvTopoTimeout = flag.Duration("srv_topo_timeout", 1*time.Second, "topo server timeout")
srvTopoTimeout = flag.Duration("srv_topo_timeout", 5*time.Second, "topo server timeout")
srvTopoCacheTTL = flag.Duration("srv_topo_cache_ttl", 1*time.Second, "how long to use cached entries for topology")
srvTopoCacheRefresh = flag.Duration("srv_topo_cache_refresh", 1*time.Second, "how frequently to refresh the topology for cached entries")
)
Expand Down

0 comments on commit fa8a209

Please sign in to comment.