mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
The shell built the connection URL with `redis${REDIS_SSL:+s}`, which
only asks whether the variable is set. `env.template` ships
`REDIS_SSL=false`, so following the documented value pointed the worker
at `rediss://` while the app parsed the same variable through
`safe_str_to_bool` and connected in plaintext. Adding the cron process
put a second process behind it.
Parse the value in both entrypoints, matching the truthy set the app
accepts.
Also clear the old scheduler's lock and instance keys even when its
registry held no jobs: a scheduler that never queued anything still
registered itself, and only the orphan-job work needs the registry.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>