From 4c859e663eb25646f2dab8b34e55ec84a65bb8f7 Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Tue, 5 Aug 2025 16:21:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=87=8F=E5=B0=91=E7=AD=89=E5=BE=85?= =?UTF-8?q?=E6=97=B6=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bgptools/pop.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgptools/pop.go b/bgptools/pop.go index 2eb24e1..6ff1911 100644 --- a/bgptools/pop.go +++ b/bgptools/pop.go @@ -70,7 +70,7 @@ func executeWithRetry(client *req.Client, url string, config retryConfig) (*req. lastErr = fmt.Errorf("attempt %d failed with HTTP status %d (timeout %v)", attempt+1, resp.StatusCode, timeout) } if attempt < config.maxRetries-1 { - time.Sleep(3 * time.Second) + time.Sleep(1 * time.Second) } } return nil, fmt.Errorf("all %d attempts failed, last error: %w", config.maxRetries, lastErr)