Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions docker/init_scripts/init
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,11 @@ run_startup
while ! ((exited)); do
watchdog_process_pid gunicorn

# only start the scheduler if enabled
if [[ ${ENABLE_SCHEDULED_RESCAN} == "true" || ${ENABLE_SCHEDULED_UPDATE_SWITCH_TITLEDB} == "true" || ${ENABLE_SCHEDULED_UPDATE_LAUNCHBOX_METADATA} == "true" || ${ENABLE_SCHEDULED_CLEANUP_ORPHANED_RESOURCES} == "true" ]]; then
watchdog_process_pid rq_scheduler
fi
# The scheduler always runs. startup.py registers the netplay, upload-tmp and
# zip-cache cleanups unconditionally, and the watcher defers its rescans
# through the scheduler, so gating it on the ENABLE_SCHEDULED_* flags left
# those jobs queued with nothing to execute them.
watchdog_process_pid rq_scheduler

watchdog_process_pid rq_worker

Expand Down