🪻 withRetry.ts

This commit is contained in:
nirholas
2026-03-31 10:23:48 +00:00
parent 4b7dfddb67
commit c7822b712f

View File

@@ -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)
} }