From 4697d150cf1cf541895e7a1bd5e3c233fd8c9401 Mon Sep 17 00:00:00 2001 From: WebStreamr <210764791+webstreamr@users.noreply.github.com> Date: Wed, 24 Sep 2025 18:04:00 +0000 Subject: [PATCH] chore(fetcher): double queue limit and timeouts --- src/utils/Fetcher.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/Fetcher.ts b/src/utils/Fetcher.ts index cc29033..ac27383 100644 --- a/src/utils/Fetcher.ts +++ b/src/utils/Fetcher.ts @@ -58,8 +58,8 @@ export type CustomRequestInit = RequestInit & { export class Fetcher { private readonly MIN_CACHE_TTL = 900000; // 15m private readonly DEFAULT_TIMEOUT = 10000; - private readonly DEFAULT_QUEUE_LIMIT = 5; - private readonly DEFAULT_QUEUE_TIMEOUT = 5000; + private readonly DEFAULT_QUEUE_LIMIT = 10; + private readonly DEFAULT_QUEUE_TIMEOUT = 10000; private readonly DEFAULT_TIMEOUTS_COUNT_THROW = 30; private readonly TIMEOUT_CACHE_TTL = 3600000; // 1h private readonly MAX_WAIT_RETRY_AFTER = 10000;