Files
dsas-cca-backend-bun/services/cache-manager.ts
JamesFlare1212 821df1c51f fix(scan): prevent exponential slowdown from event loop blocking
- Reduce default CONCURRENT_API_CALLS from 10 to 5 (Sharp AVIF is CPU-intensive)
- Create fresh p-limit instance per batch instead of module singleton
- Add garbage collection hint between batches
- Fix skippedCount tracking (was never incremented)
- Increase batch delay from 100ms to 500ms for event loop drainage
2026-04-07 07:35:48 -04:00

12 KiB