diff --git a/src/utils/Fetcher.test.ts b/src/utils/Fetcher.test.ts index 0cd7c25..93fef98 100644 --- a/src/utils/Fetcher.test.ts +++ b/src/utils/Fetcher.test.ts @@ -38,7 +38,7 @@ describe('fetch', () => { 'X-Real-IP': '127.0.0.1', }, responseType: 'text', - timeout: 15000, + timeout: 5000, }, ); }); diff --git a/src/utils/Fetcher.ts b/src/utils/Fetcher.ts index b73429c..c70ab15 100644 --- a/src/utils/Fetcher.ts +++ b/src/utils/Fetcher.ts @@ -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',