Commit Graph

10 Commits

Author SHA1 Message Date
JamesFlare1212
6c58eacc8f fix(s3): racing condition and different URL in redis 2026-04-07 23:21:54 -04:00
JamesFlare1212
fc98dbbbae fix(scan): remove p-limit 2026-04-07 08:38:15 -04:00
JamesFlare1212
92b12a6a85 fix(scan): prevent progressive slowdown with mutex, batching, and connection pooling
- Add mutex to cron jobs to prevent overlapping runs
- Replace Promise.all with batched processing (50/batch) in updateStaleClubs
- Configure HTTP connection pooling with keep-alive (maxSockets: 50)
- Add memory monitoring to scan progress logs
- Reduce CONCURRENT_API_CALLS from 8 to 5 to reduce Sharp memory pressure
2026-04-07 00:00:56 -04:00
JamesFlare1212
bd11e5971c improve: rank academicYear in descending order 2025-05-14 15:09:17 -04:00
JamesFlare1212
d81078c62d feat: endpoint /v1/activity/list?isStudentLed={true/false} 2025-05-14 00:30:43 -04:00
JamesFlare1212
7ba5f8f00f feat: skip duplicate image on remote 2025-05-12 23:46:25 -04:00
JamesFlare1212
8598571f72 improve: code structure 2025-05-12 21:45:57 -04:00
JamesFlare1212
1996b1e29c feat: new filters on /v1/activity/list 2025-05-12 16:32:56 -04:00
JamesFlare1212
1d1d82fa60 feat: new api endpoint, /v1/activity/category and /v1/activity/academicYear 2025-05-12 01:38:25 -04:00
JamesFlare1212
2543e56ec4 init: port to typescript and bun 2025-05-10 23:39:39 -04:00