From f655e54cd7b9625c32d0322596a4dd8b85ec1c11 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Sun, 2 Mar 2025 23:21:03 +0800 Subject: [PATCH] Increase fetch parallel delay --- Build/lib/fetch-assets.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/lib/fetch-assets.ts b/Build/lib/fetch-assets.ts index 61c25654..a2d8a4ce 100644 --- a/Build/lib/fetch-assets.ts +++ b/Build/lib/fetch-assets.ts @@ -20,7 +20,7 @@ export async function fetchAssets(url: string, fallbackUrls: null | undefined | if (index >= 0) { // Most assets can be downloaded within 250ms. To avoid wasting bandwidth, we will wait for 500ms before downloading from the fallback URL. try { - await waitWithAbort(50 + (index + 1) * 100, controller.signal); + await waitWithAbort(50 + (index + 1) * 150, controller.signal); } catch { console.log(picocolors.gray('[fetch cancelled early]'), picocolors.gray(url)); throw reusedCustomAbortError;