From 5f7834966cf2f8a93929b490ea5c3c8d0730e7d9 Mon Sep 17 00:00:00 2001 From: "onledger.net" <42262747+rippleitinnz@users.noreply.github.com> Date: Sun, 15 Jun 2025 13:42:27 +1200 Subject: [PATCH] Increase MAX_QUEUE_SIZE size to handle larger UNL --- src/usr/read_req.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/usr/read_req.cpp b/src/usr/read_req.cpp index 9bd93867..2af0e85c 100644 --- a/src/usr/read_req.cpp +++ b/src/usr/read_req.cpp @@ -13,7 +13,7 @@ namespace read_req { constexpr uint16_t LOOP_WAIT = 100; // Milliseconds. - constexpr uint16_t MAX_QUEUE_SIZE = 255; // Maximum read request queue size, The size passed is rounded up to the next multiple of the block size (32). + constexpr uint16_t MAX_QUEUE_SIZE = 1024; // Maximum read request queue size, The size passed is rounded up to the next multiple of the block size (32). bool is_shutting_down = false; bool init_success = false; @@ -240,4 +240,4 @@ namespace read_req } } -} // namespace read_req \ No newline at end of file +} // namespace read_req