From 0bdbe0238176f50b3d1ef9e011d6773363965f3d Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Tue, 26 May 2020 14:57:23 +0200 Subject: [PATCH] Adjust RECV buffer to bytes instead of msgs --- core-buffer/include/buffer_config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-buffer/include/buffer_config.hpp b/core-buffer/include/buffer_config.hpp index 97a0df8..de9361d 100644 --- a/core-buffer/include/buffer_config.hpp +++ b/core-buffer/include/buffer_config.hpp @@ -31,7 +31,7 @@ namespace core_buffer { const int BUFFER_UDP_RCVBUF_N_SLOTS = 100; // +1 for packet headers. const int BUFFER_UDP_RCVBUF_BYTES = - (128 * BUFFER_UDP_RCVBUF_N_SLOTS); + (128 * BUFFER_UDP_RCVBUF_N_SLOTS * 8246); // Microseconds timeout for UDP recv. const int BUFFER_UDP_US_TIMEOUT = 2 * 1000; // HWM for live stream from buffer.