Files
ComfyUI_frontend/apps
Glary-Bot 040600bdb4 fix(website): clamp registry timeoutMs to a finite positive integer
A caller passing 0, a negative number, NaN, or a non-finite value would
cause every batch's AbortController to fire immediately, silently
turning registry enrichment into 100% soft-failure. Add clampTimeoutMs
which rejects non-numeric, non-finite, or non-positive inputs and
returns the DEFAULT_TIMEOUT_MS (5000ms). Math.floor on the validated
value so AbortController gets an integer.

Addresses CodeRabbit minor finding 3181982716.
2026-05-04 13:50:22 +00:00
..