From 1aed50444eca1e0cbaf1f48dc7884a052ef268b0 Mon Sep 17 00:00:00 2001 From: wood chen Date: Sat, 22 Mar 2025 18:29:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=9B=AE=E6=A0=87=E5=8F=AF?= =?UTF-8?q?=E8=AE=BF=E9=97=AE=E6=80=A7=E6=A3=80=E6=9F=A5=E7=9A=84=E4=B8=8A?= =?UTF-8?q?=E4=B8=8B=E6=96=87=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4=EF=BC=8C?= =?UTF-8?q?=E5=B0=86=E8=B6=85=E6=97=B6=E4=BB=8E5=E7=A7=92=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=88=B015=E7=A7=92=EF=BC=8C=E4=BB=A5=E6=8F=90?= =?UTF-8?q?=E9=AB=98=E8=AF=B7=E6=B1=82=E7=9A=84=E7=A8=B3=E5=AE=9A=E6=80=A7?= =?UTF-8?q?=E5=92=8C=E6=88=90=E5=8A=9F=E7=8E=87=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/utils/utils.go b/internal/utils/utils.go index e7c9e64..c2ce539 100644 --- a/internal/utils/utils.go +++ b/internal/utils/utils.go @@ -353,7 +353,7 @@ func isTargetAccessible(client *http.Client, url string) bool { return false } - ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second) + ctx, cancel := context.WithTimeout(context.Background(), 15*time.Second) defer cancel() req = req.WithContext(ctx)