32dee6b16121d1ec6bcec6ef756677ce5190d732
- Fix Redis SCAN cursor type conversion (Buffer to String) to prevent early termination - Add progress logging in initializeClubCache (every 100 activities with summary) - Add Redis memory limits (512MB with LRU eviction policy) - Implement cache TTL: 24h for normal data, 1h for error states (allows retry) - Fix Docker permission issue by running app container as root - Add TTL configuration to .env and example.env Root cause: SCAN cursor comparison failed due to type mismatch (Buffer vs String) Impact: Scanning now processes all 5000+ IDs instead of stopping at ~300
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%