diff --git a/consul/consul.go b/consul/consul.go index 166956a..4318161 100644 --- a/consul/consul.go +++ b/consul/consul.go @@ -67,7 +67,7 @@ func startHealthCheckAndReconnect() { // 初始化HTTP客户端用于健康检查 httpClient = &http.Client{ - Timeout: 5 * time.Second, + Timeout: 30 * time.Second, } for {