dragonflight/services
Zac 562881f0db fix(jobs): stall detection + manual kill button so 5h-stuck actives can't happen
A thumbnail job from earlier stayed 'active' for 6+ hours: worker was restarted at 70% progress, BullMQ left it in the active set, and there was no stall reaper because the worker was created with only the default options.

Worker now passes stalledInterval: 30000, lockDuration: 60000, lockRenewTime: 15000, maxStalledCount: 1 to the Worker constructor. If a run dies, BullMQ reclaims the job back to waiting within 30s and a 'stalled' event is logged. Otherwise the lock is renewed mid-job.

Jobs UI gains a 'Kill' button per row next to Details. Calls DELETE /api/v1/jobs/:id which already removes the job from Redis. Use it on any row that looks stuck.
2026-05-17 19:10:19 -04:00
..
capture feat(recorders): probe sources + reflect real signal in main status 2026-05-17 18:39:21 -04:00
mam-api feat(recorders): probe sources + reflect real signal in main status 2026-05-17 18:39:21 -04:00
premiere-plugin feat: in-library asset preview + Premiere plugin installer 2026-05-17 08:55:14 -04:00
web-ui fix(jobs): stall detection + manual kill button so 5h-stuck actives can't happen 2026-05-17 19:10:19 -04:00
worker fix(jobs): stall detection + manual kill button so 5h-stuck actives can't happen 2026-05-17 19:10:19 -04:00