Skip to content

Commit

Permalink
Merge pull request #8011 from planetscale/jg_topo_timeout
Browse files Browse the repository at this point in the history
Increase the default srv_topo_timeout
  • Loading branch information
deepthi authored Apr 30, 2021
2 parents 92da561 + fa8a209 commit 6b3cd18
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 6b3cd18

Please sign in to comment.