Fix incoming activity processing

This commit is contained in:
Thomas Sileo 2022-07-20 20:01:11 +02:00
parent aa71bd166b
commit ea548337f4

View file

@ -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():