From 506ae12a8c82677a78a2c612989d71e8529eaeac Mon Sep 17 00:00:00 2001 From: Mark Travis Date: Tue, 3 Jun 2025 14:33:09 -0700 Subject: [PATCH] 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. --- src/xrpld/app/main/Application.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xrpld/app/main/Application.cpp b/src/xrpld/app/main/Application.cpp index 5d495aaf06..7771086239 100644 --- a/src/xrpld/app/main/Application.cpp +++ b/src/xrpld/app/main/Application.cpp @@ -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 }