"frontend/src/git@web.lueluesay.top:chenxi/sub2api.git" did not exist on "838ada8864a82143b7ddeb483bbbaa8acd89ee5a"
Commit b3463769 authored by shaw's avatar shaw
Browse files

chore: 调整403重试次数跟间隔

parent d9e6cfc4
......@@ -368,8 +368,8 @@ func (s *GatewayService) getOAuthToken(ctx context.Context, account *model.Accou
// 重试相关常量
const (
maxRetries = 5 // 最大重试次数
retryDelay = 6 * time.Second // 重试等待时间
maxRetries = 10 // 最大重试次数
retryDelay = 3 * time.Second // 重试等待时间
)
// shouldRetryUpstreamError 判断是否应该重试上游错误
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment