Adjust RECV buffer to bytes instead of msgs

This commit is contained in:
2020-05-26 14:57:23 +02:00
parent 69c8501af7
commit 0bdbe02381
+1 -1
View File
@@ -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.