Files
romm/backend
zurdi 20e188dd90 fix: notify of a task that times out or whose worker dies
A task reported its failure from inside run_task_by_name, which a timeout
parked in the event loop, a killed work horse and a dead worker all skip.
RomMWorker now installs report_task_failure as an RQ exception handler,
which covers cron runs too, since cron can attach no failure callback.
RQ runs neither the failure callback nor the exception handlers for a
killed horse, so the worker runs both itself, which also ends a scan whose
horse was killed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 14:23:47 +02:00
..
2026-09-23 13:04:18 +02:00
2026-09-23 13:07:14 +02:00
2024-02-10 12:43:39 -05:00
2025-07-05 19:17:40 -04:00
2026-09-23 10:35:33 +02:00