✨ 🪻 withRetry.ts
This commit is contained in:
@@ -820,3 +820,4 @@ function getRateLimitResetDelayMs(error: APIError): number | null {
|
|||||||
if (delayMs <= 0) return null
|
if (delayMs <= 0) return null
|
||||||
return Math.min(delayMs, PERSISTENT_RESET_CAP_MS)
|
return Math.min(delayMs, PERSISTENT_RESET_CAP_MS)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user