mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 10:32:57 +01:00
`ScanLibraryTask` never set a timeout, so it inherited `TASK_TIMEOUT` and the nightly pass over the whole library was killed after five minutes. That predates the scan queue, which only made it visible: the timeout is now read straight off the task when its cron entry is registered. Delayed scans are also looked for in the low priority queue's registry as well as the scan queue's. A scan delayed before scans had their own queue waits in the old one, where a worker will still release it, so the stale sweep has to be able to see and drop it. The queue table in the architecture doc still described the low priority queue as the home of long-running scans. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>