Reduce max_instances for send_to_discord scheduler to 1
All checks were successful
Test and build Docker image / docker (push) Successful in 48s

This commit is contained in:
Joakim Hellsén 2026-03-16 05:00:05 +01:00
commit b9d04358f3
Signed by: Joakim Hellsén
SSH key fingerprint: SHA256:/9h/CsExpFp+PRhsfA0xznFx2CGfTT5R/kpuFfUgEQk

View file

@ -163,7 +163,7 @@ async def lifespan(app: FastAPI) -> AsyncGenerator[None]:
trigger="interval", trigger="interval",
minutes=1, minutes=1,
id="send_to_discord", id="send_to_discord",
max_instances=3, max_instances=1,
next_run_time=datetime.now(tz=UTC), next_run_time=datetime.now(tz=UTC),
) )
scheduler.start() scheduler.start()