From 6fad96d3d09dd329febd038ac1d5600e865cf60a Mon Sep 17 00:00:00 2001 From: yml2213 Date: Fri, 6 Nov 2026 18:24:56 +0800 Subject: [PATCH] =?UTF-8?q?fix(deploy):=20=E8=B0=83=E6=95=B4=20GeoIP=20?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E8=B6=85=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/scripts/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/scripts/deploy.sh b/deploy/scripts/deploy.sh index 7c4d579..ff0feb7 100755 --- a/deploy/scripts/deploy.sh +++ b/deploy/scripts/deploy.sh @@ -127,7 +127,7 @@ ensure_geoip() { for db_url in "${urls[@]}"; do log "下载 GeoIP 城市库: $db_url" rm -f "$tmp" - if curl -fL --retry 2 --connect-timeout 15 --max-time 180 -o "$tmp" "$db_url" \ + if curl -fL --retry 2 --connect-timeout 15 --max-time 900 -o "$tmp" "$db_url" \ && [[ "$(wc -c < "$tmp" | tr -d ' ')" -gt 1000000 ]] \ && tail -c 131072 "$tmp" | grep -aq 'MaxMind.com'; then mv "$tmp" "$db_file"