mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Fix incoming activity processing
This commit is contained in:
parent
aa71bd166b
commit
ea548337f4
1 changed files with 1 additions and 0 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue