chore(fetcher): reduce timeout to 5s

This commit is contained in:
WebStreamr 2025-05-29 18:32:06 +00:00
parent 07ddaab7fb
commit 5bfe2f800b
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -38,7 +38,7 @@ describe('fetch', () => {
'X-Real-IP': '127.0.0.1',
},
responseType: 'text',
timeout: 15000,
timeout: 5000,
},
);
});

View file

@ -40,7 +40,7 @@ export class Fetcher {
return {
responseType: 'text',
timeout: 15000,
timeout: 5000,
...config,
headers: {
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',