From db1d1cfc7c50e5550819736dfd016722903a55f3 Mon Sep 17 00:00:00 2001 From: Ioan Ferencik Date: Thu, 13 Aug 2026 16:07:17 +0200 Subject: [PATCH] force 1 thread to avoid meme crash on WIN32 --- rapida/connectivity/graph.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rapida/connectivity/graph.py b/rapida/connectivity/graph.py index e27883c..366c75c 100644 --- a/rapida/connectivity/graph.py +++ b/rapida/connectivity/graph.py @@ -211,6 +211,7 @@ async def compile_valhalla_graph(pbf_path: str, dst_dir: str, progress=None) -> if sys.platform == "win32": valhalla_conf["mjolnir"]["use_mmap"] = False + valhalla_conf["mjolnir"]["concurrency"] = 1