优化408

This commit is contained in:
2026-08-01 14:44:05 +08:00
parent e2540dc2a3
commit 0a1811b254
3 changed files with 68 additions and 19 deletions
+4
View File
@@ -1550,6 +1550,10 @@ func (s *V1Service) tryAccount(ctx context.Context, eventID, pool string, token
})
return data, nil, false, false
}
if errors.Is(err, adobe.ErrAuthPermanent) {
s.markTokenDead(ctx, pool, token, kind)
return nil, err, true, false
}
isAuth, isQuota, isTemp, isDead := classify(err)
if isQuota {
s.markTokenFailure(ctx, pool, token, kind, false, true)