473@@ -474,6 +474,7 @@ def write_config(config_path, *, n, chain, extra_config="", disable_autoconnect=
474 # min_required_fds = MIN_CORE_FDS + MAX_ADDNODE_CONNECTIONS + nBind = 151 + 8 + 3 = 162;
475 # nMaxConnections = available_fds - min_required_fds = 256 - 161 = 94;
476 f.write("maxconnections=94\n")
477+ f.write("par=2\n")
What about min(2, os.cpu_count())
to avoid forcing a second thread when only one core is available.
Is there a realistic case where only one core is available?
Only the rpi zero comes to mind. It seems like a simple change anyway. I wouldn’t overthink it too much.
Or maybe a dockerized container