Increase network i/o capacity (#5464)

The change increases the default network I/O worker thread pool size from 2 to 6. This will improve stability, as worker thread saturation correlates to desyncs, particularly on high-traffic peers, such as hubs.
This commit is contained in:
Mark Travis
2025-06-03 14:33:09 -07:00
committed by GitHub
parent 0310c5cbe0
commit 506ae12a8c

View File

@@ -256,8 +256,8 @@ public:
if ((cores == 1) || ((config.NODE_SIZE == 0) && (cores == 2)))
return 1;
// Otherwise, prefer two threads.
return 2;
// Otherwise, prefer six threads.
return 6;
#endif
}