Fix incoming activity processing

main
Thomas Sileo 2022-07-20 20:01:11 +02:00
parent aa71bd166b
commit ea548337f4
1 changed files with 1 additions and 0 deletions

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