From 476aac782d92ef70faa4fe292eba193c1b045c38 Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Tue, 5 Aug 2025 16:26:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=87=8F=E5=B0=91=E9=87=8D=E8=AF=95?= =?UTF-8?q?=E6=AC=A1=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bgptools/pop.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bgptools/pop.go b/bgptools/pop.go index 6ff1911..ef54bc5 100644 --- a/bgptools/pop.go +++ b/bgptools/pop.go @@ -50,8 +50,8 @@ type retryConfig struct { // 默认重试配置:3次重试,超时时间分别为3s、4s、5s var defaultRetryConfig = retryConfig{ - maxRetries: 3, - timeouts: []time.Duration{3 * time.Second, 4 * time.Second, 5 * time.Second}, + maxRetries: 2, + timeouts: []time.Duration{5 * time.Second, 6 * time.Second}, } // executeWithRetry 执行带重试的HTTP请求