Reduce max_instances for send_to_discord scheduler to 1
All checks were successful
Test and build Docker image / docker (push) Successful in 48s
All checks were successful
Test and build Docker image / docker (push) Successful in 48s
This commit is contained in:
parent
4d8fd145cf
commit
b9d04358f3
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ async def lifespan(app: FastAPI) -> AsyncGenerator[None]:
|
|||
trigger="interval",
|
||||
minutes=1,
|
||||
id="send_to_discord",
|
||||
max_instances=3,
|
||||
max_instances=1,
|
||||
next_run_time=datetime.now(tz=UTC),
|
||||
)
|
||||
scheduler.start()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue