From 1ce994c54282523d2250c7a49c035ae440cccd05 Mon Sep 17 00:00:00 2001 From: hezhengxu Date: Wed, 18 Sep 2024 23:15:16 +0800 Subject: [PATCH] fix: enlarge retry times --- app/core/service/ProxyCacheService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/core/service/ProxyCacheService.ts b/app/core/service/ProxyCacheService.ts index 46c2e511..1cfe25ec 100644 --- a/app/core/service/ProxyCacheService.ts +++ b/app/core/service/ProxyCacheService.ts @@ -214,7 +214,8 @@ export class ProxyCacheService extends AbstractService { const res = await this.httpclient.request(url, { timing: true, followRedirect: true, - retry: 3, + // once redirection is also count as a retry + retry: 7, dataType: 'stream', timeout: 10000, compressed: true,