From 009bb930b5c5a038e2f00bc8429198f58d710c76 Mon Sep 17 00:00:00 2001 From: WebStreamr <210764791+webstreamr@users.noreply.github.com> Date: Tue, 5 Aug 2025 10:01:30 +0000 Subject: [PATCH] chore(fetcher): increase default timeout to 15s in most of the cases we're still very fast anyway but in some of the small cases let's avoid timeout blocks by waiting longer --- src/utils/Fetcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Fetcher.ts b/src/utils/Fetcher.ts index 8e420df..2c4e1d5 100644 --- a/src/utils/Fetcher.ts +++ b/src/utils/Fetcher.ts @@ -54,7 +54,7 @@ export type CustomRequestInit = RequestInit & { export class Fetcher { private readonly MIN_CACHE_TTL = 900000; // 15m - private readonly DEFAULT_TIMEOUT = 10000; + private readonly DEFAULT_TIMEOUT = 15000; private readonly DEFAULT_QUEUE_LIMIT = 5; private readonly DEFAULT_QUEUE_TIMEOUT = 5000; private readonly DEFAULT_FAILED_REQUEST_COUNT_THROW = 10;