Increased max queue limits from 64 to 254 (#344)

This commit is contained in:
Chalith Desaman
2021-08-19 19:10:54 +05:30
committed by GitHub
parent 9c7471a7db
commit d3df42db4e
4 changed files with 14 additions and 13 deletions

View File

@@ -10,7 +10,7 @@ namespace comm
{
constexpr uint32_t INTERVALMS = 60000;
constexpr uint32_t UNVERIFIED_INACTIVE_TIMEOUT = 5000; // Time threshold ms for unverified inactive connections.
constexpr uint16_t MAX_IN_MSG_QUEUE_SIZE = 64; // Maximum in 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_IN_MSG_QUEUE_SIZE = 255; // Maximum in message queue size, The size passed is rounded to next number in binary sequence 1(1),11(3),111(7),1111(15),11111(31)....
comm_session::comm_session(
std::string_view host_address, hpws::client &&hpws_client, const bool is_inbound, const uint64_t (&metric_thresholds)[5])