trails/apps/journal/app/jobs
Ullrich Schäfer a181dfe6b8
Add cron job to sweep stale import batches every minute
Batches stuck in pending or running for more than 10 minutes (server
restart mid-import, pg-boss job dropped) are marked failed with a
user-visible message. Runs every minute via pg-boss cron with a 55s
expiry so overlapping runs are dropped.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-23 19:08:49 +02:00
..
demo-bot-generate.ts Upgrade pg-boss from 10 to 12 2026-04-19 23:01:11 +02:00
demo-bot-prune.ts Upgrade pg-boss from 10 to 12 2026-04-19 23:01:11 +02:00
import-batches-sweep.ts Add cron job to sweep stale import batches every minute 2026-05-23 19:08:49 +02:00
komoot-bulk-import.ts Add background bulk import for Komoot 2026-05-23 18:19:10 +02:00
notifications-fanout.integration.test.ts Cursor-based pagination for /notifications 2026-04-26 01:42:32 +02:00
notifications-fanout.ts Implement notifications + supporting fixes 2026-04-26 01:28:55 +02:00
notifications-purge.ts Implement notifications + supporting fixes 2026-04-26 01:28:55 +02:00