chore(fetcher): decrease timeout to 5 seconds

This commit is contained in:
WebStreamr 2025-09-03 10:28:48 +00:00
parent 63ada6099a
commit 83021fb773
No known key found for this signature in database

View file

@ -55,7 +55,7 @@ export type CustomRequestInit = RequestInit & {
export class Fetcher {
private readonly MIN_CACHE_TTL = 900000; // 15m
private readonly DEFAULT_TIMEOUT = 10000;
private readonly DEFAULT_TIMEOUT = 5000;
private readonly DEFAULT_QUEUE_LIMIT = 5;
private readonly DEFAULT_QUEUE_TIMEOUT = 5000;
private readonly DEFAULT_TIMEOUTS_COUNT_THROW = 30;