From ffc457e7d01d283586a61c77790af280bcf46614 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Tue, 26 May 2020 14:34:43 +0200 Subject: [PATCH] Forgot to add bytes per packet in equation --- 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 e1b87a6..6eb9f45 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 * 8246 * BUFFER_UDP_RCVBUF_N_SLOTS); // Microseconds timeout for UDP recv. const int BUFFER_UDP_US_TIMEOUT = 2 * 1000; // HWM for live stream from buffer.