JamesFlare1212 f1967d5519 fix(cache): use Promise.allSettled to prevent hung promises from blocking scan
Root cause: Promise.all() waits for ALL promises, so a single hung/slow request
blocks the entire batch. With 5001 promises and 16 concurrent limit, timeouts
cause cascading delays that appear as 'scan stopped'.

Fix:
- Extract processSingleActivity() helper function
- Use Promise.allSettled() instead of Promise.all()
- Each promise handles its own success/error counting
- Prevents single hung promise from blocking entire scan

Impact: Scan should now complete all 5001 IDs without getting stuck
2026-04-06 21:48:10 -04:00
2025-05-12 21:45:57 -04:00
2025-05-12 21:45:57 -04:00
2025-05-10 23:39:39 -04:00
2025-05-10 23:39:39 -04:00

How to Run

copy example.env

cp example.env .env

edit .env

API_USERNAME is your engage username in URL-encode.
API_PASSWORD is your engage password in URL-encode.

Description
No description provided
Readme 639 KiB
Languages
TypeScript 98.1%
Dockerfile 1.1%
Shell 0.8%