start a transaction when runing processors

This commit is contained in:
Izalia Mae 2024-02-14 15:31:06 -05:00
parent 6b6337a333
commit 70617fbdf6

View file

@ -180,7 +180,7 @@ async def run_processor(view: ActorView) -> None:
return
with view.database.connection(False) as conn:
with view.database.connection(True) as conn:
if view.instance:
if not view.instance['software']:
if (nodeinfo := await view.client.fetch_nodeinfo(view.instance['domain'])):