From 650f95af5462768c51ab361a420540f45cb986c3 Mon Sep 17 00:00:00 2001 From: YueGuobin Date: Mon, 15 Jun 2026 12:50:59 +0800 Subject: [PATCH] Increase node and link creation concurrency from 5 to 20 --- gns3server/controller/project.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gns3server/controller/project.py b/gns3server/controller/project.py index fdd50c7c5..63d3d7ac9 100644 --- a/gns3server/controller/project.py +++ b/gns3server/controller/project.py @@ -1301,7 +1301,7 @@ class Project: # Create nodes in parallel with limited concurrency # to avoid overwhelming the system with too many simultaneous operations - pool = Pool(concurrency=5) + pool = Pool(concurrency=20) for compute, name, node_id, node_data in nodes_to_create: pool.append(self.add_node, compute, name, node_id, dump=False, **node_data) await pool.join() @@ -1319,7 +1319,7 @@ class Project: if count > 0: await self.preallocate_udp_ports_for_compute(compute, count) # Create links in parallel for improved performance - pool = Pool(concurrency=5) + pool = Pool(concurrency=20) for link_data in topology.get("links", []): if "link_id" not in link_data.keys(): continue