From ea548337f4d7f9b446201d01cb3f757514cc7db3 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Wed, 20 Jul 2022 20:01:11 +0200 Subject: [PATCH] Fix incoming activity processing --- app/incoming_activities.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/incoming_activities.py b/app/incoming_activities.py index 749e82c..2c42e66 100644 --- a/app/incoming_activities.py +++ b/app/incoming_activities.py @@ -98,6 +98,7 @@ async def process_next_incoming_activity(db_session: AsyncSession) -> bool: next_activity.tries = next_activity.tries + 1 next_activity.last_try = now() + await db_session.commit() try: # async with db_session.begin_nested():