mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-12-22 11:11:09 +00:00
start a transaction when runing processors
This commit is contained in:
parent
6b6337a333
commit
70617fbdf6
|
@ -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'])):
|
||||
|
|
Loading…
Reference in a new issue