From c36d77fba845270c3361b324b6c459a3d92cc3ba Mon Sep 17 00:00:00 2001 From: WuYongJie Date: Mon, 15 Jun 2026 17:52:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(storage):=20=E9=87=8D=E8=AF=95=E4=B8=83?= =?UTF-8?q?=E7=89=9B=E8=B4=9F=E7=8A=B6=E6=80=81=E7=A0=81=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- furniture-3d-system/scripts/storage-gc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/furniture-3d-system/scripts/storage-gc.ts b/furniture-3d-system/scripts/storage-gc.ts index 138298ab..c2c9e151 100644 --- a/furniture-3d-system/scripts/storage-gc.ts +++ b/furniture-3d-system/scripts/storage-gc.ts @@ -140,7 +140,7 @@ function isQiniuMissingObject(errorOrResponse: unknown): boolean { function isRetriableQiniuError(error: unknown): boolean { const statusCode = getHttpStatusCode(error) if (statusCode !== null) { - return statusCode === 429 || statusCode >= 500 + return statusCode <= 0 || statusCode === 429 || statusCode >= 500 } const message = error instanceof Error ? error.message.toLowerCase() : String(error).toLowerCase()