Skip to content

Commit

Permalink
fix: enlarge retry times
Browse files Browse the repository at this point in the history
  • Loading branch information
hezhengxu2018 committed Sep 18, 2024
1 parent ce71b9f commit 1ce994c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/core/service/ProxyCacheService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1ce994c

Please sign in to comment.