From fa8a209b133f17df48b0e1f95530b88110e2e65d Mon Sep 17 00:00:00 2001 From: Jacques Grove Date: Fri, 30 Apr 2021 11:39:42 -0700 Subject: [PATCH] Address #8010 by increasing the default srv_topo_timeout Signed-off-by: Jacques Grove --- go/vt/srvtopo/resilient_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/srvtopo/resilient_server.go b/go/vt/srvtopo/resilient_server.go index cdb8b9c12e8..edf9568f30d 100644 --- a/go/vt/srvtopo/resilient_server.go +++ b/go/vt/srvtopo/resilient_server.go @@ -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") )