diff --git a/test/functional/test_framework/util.py b/test/functional/test_framework/util.py index e5a5938f07c..da90e37403e 100644 --- a/test/functional/test_framework/util.py +++ b/test/functional/test_framework/util.py @@ -474,6 +474,7 @@ def write_config(config_path, *, n, chain, extra_config="", disable_autoconnect= # min_required_fds = MIN_CORE_FDS + MAX_ADDNODE_CONNECTIONS + nBind = 151 + 8 + 3 = 162; # nMaxConnections = available_fds - min_required_fds = 256 - 161 = 94; f.write("maxconnections=94\n") + f.write("par=" + str(min(2, os.cpu_count())) + "\n") f.write(extra_config)