Tweak incoming activity processing

main
Thomas Sileo 2022-07-14 09:23:11 +02:00
parent 5c7fd1199b
commit dd50db40d9
1 changed files with 6 additions and 5 deletions

View File

@ -81,6 +81,7 @@ async def process_next_incoming_activity(db_session: AsyncSession) -> bool:
next_activity.last_try = now() next_activity.last_try = now()
try: try:
async with db_session.begin_nested():
await save_to_inbox( await save_to_inbox(
db_session, db_session,
next_activity.ap_object, next_activity.ap_object,