zkraceni intervalu planneru na max 35h
Some checks failed
CI and deploy / migration-check (push) Failing after 13s
CI and deploy / deploy (push) Has been skipped

This commit is contained in:
Dusan Vojacek
2026-04-19 21:09:48 +02:00
parent e33207f3fa
commit f48a7aad61
16 changed files with 247 additions and 91 deletions

View File

@@ -367,6 +367,22 @@ async def lifespan(app: FastAPI):
id="ote_import_preopen",
replace_existing=True,
)
scheduler.add_job(
scheduled_ote_import,
"cron",
hour="13,14",
minute=15,
id="ote_import_retry_early",
replace_existing=True,
)
scheduler.add_job(
scheduled_ote_import,
"cron",
hour="13,14",
minute=45,
id="ote_import_retry_late",
replace_existing=True,
)
scheduler.add_job(
scheduled_ote_import,
"cron",