5f630f85995181ed1b5702f1b5742b1f3e09afb6
Before: Pre-validate cookie before every request (2-4 API calls per activity) After: Direct request, only validate on 4xx error (1-2 API calls per activity) Changes: - Remove pre-validation step in fetchActivityData - Keep existing 4xx error handling with re-login logic - Add debug log to track cookie usage Impact: ~20-30% reduction in API calls for normal scenarios Benefit: Faster scanning, less load on engage API
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
Languages
TypeScript
98.1%
Dockerfile
1.1%
Shell
0.8%