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
This commit is contained in:
parent
086c32f980
commit
009bb930b5
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue