From 70617fbdf64444d32c529830c071429bf15c4a0d Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Wed, 14 Feb 2024 15:31:06 -0500 Subject: [PATCH] start a transaction when runing processors --- relay/processors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/relay/processors.py b/relay/processors.py index 7fc3423..0ba3c15 100644 --- a/relay/processors.py +++ b/relay/processors.py @@ -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'])):