Increase MAX_QUEUE_SIZE size to handle larger UNL

This commit is contained in:
onledger.net
2025-06-15 13:42:27 +12:00
committed by GitHub
parent ae9c5cf208
commit 5f7834966c

View File

@@ -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
} // namespace read_req