Files
romm/backend/handler
Georges-Antoine Assi 3fc0740c02 fix(tasks): re-register RQ workers whose registration expired (#5443)
After a host suspend longer than the worker TTL, the worker key lapses and
the registry sweep drops the worker, or the next heartbeat recreates the key
with only last_heartbeat. register_birth() only runs at startup, so the scan
worker stayed invisible and every scan was refused with "No scan worker is
listening" until a restart.

RomMWorker.heartbeat() now checks the key still carries its queues and sits
in the worker registries, and writes the registration back when it does not.

Fixes #5327

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 07:55:43 -05:00
..