This commit is contained in:
Матвей
2026-10-26 15:49:31 +03:00
parent 4f6e69cfac
commit a1bb6f8bde
18 changed files with 820 additions and 195 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ async def run() -> None:
try:
while True:
try:
await store.schedule_due_jobs()
await store.schedule_due_jobs(int(os.environ.get('JOB_MAX_ATTEMPTS', '5')))
for event in await store.due_outbox_events():
await publish(event["payload"])
await store.mark_outbox_published(event["id"])