fix(v2-scheduler): avoid restart loops when scheduler is disabled

This commit is contained in:
Alfredo Di Stasio
2026-03-20 14:49:48 +01:00
parent ad85e40688
commit 1aad6945c7
5 changed files with 61 additions and 2 deletions

View File

@ -59,6 +59,8 @@ DAILY_ORCHESTRATION_INTERVAL_SECONDS=86400
# Future optional scheduler loop settings (not enabled in base v2 runtime)
SCHEDULER_ENABLED=0
SCHEDULER_INTERVAL_SECONDS=900
# When scheduler is disabled but container is started, keep it idle (avoid restart loops)
SCHEDULER_DISABLED_SLEEP_SECONDS=300
# API safeguards (read-only API is optional)
API_THROTTLE_ANON=100/hour