From 9153e5d43b2056acdd52ab595de06a7f1dcf3836 Mon Sep 17 00:00:00 2001 From: "onledger.net" <42262747+rippleitinnz@users.noreply.github.com> Date: Sun, 15 Jun 2025 13:34:00 +1200 Subject: [PATCH] increase MAX_NPL_MSG_QUEUE_SIZE and MAX_CONTROL_MSG_QUEUE_SIZE Increased to accommodate 64 member UNL and the additional messaging that brings. --- src/sc/sc.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sc/sc.hpp b/src/sc/sc.hpp index 7ef679b6..8ea05ef8 100644 --- a/src/sc/sc.hpp +++ b/src/sc/sc.hpp @@ -16,8 +16,8 @@ */ namespace sc { - constexpr uint16_t MAX_NPL_MSG_QUEUE_SIZE = 255; // Maximum npl message queue size, The size passed is rounded to next number in binary sequence 1(1),11(3),111(7),1111(15),11111(31).... - constexpr uint16_t MAX_CONTROL_MSG_QUEUE_SIZE = 255; // Maximum out message queue size, The size passed is rounded to next number in binary sequence 1(1),11(3),111(7),1111(15),11111(31).... + constexpr uint16_t MAX_NPL_MSG_QUEUE_SIZE = 1023; // Maximum npl message queue size, The size passed is rounded to next number in binary sequence 1(1),11(3),111(7),1111(15),11111(31).... + constexpr uint16_t MAX_CONTROL_MSG_QUEUE_SIZE = 1023; // Maximum out message queue size, The size passed is rounded to next number in binary sequence 1(1),11(3),111(7),1111(15),11111(31).... struct fd_pair { @@ -216,4 +216,4 @@ namespace sc } // namespace sc -#endif \ No newline at end of file +#endif