Files
Cato 373c0c8d48 fix(source): enforce runtime budget and read candidate pages in parallel (#340)
- Read candidate pages concurrently with Promise.all in lib/source.ts rather than awaiting each serially, bounding page reading time per row
- Define SOURCE_RUN_BUDGET_MS (200s) and budget/signal checking to runScheduledSourcing in lib/source-store.ts so scheduled runs finish well within the 300s box curl timeout
- Pass request.signal from POST /api/cron/source to runScheduledSourcing
- Add automated tests in test/source.test.ts verifying budget enforcement and concurrent candidate reads
2026-11-05 20:06:58 +01:00
..