Add parameters for new sf_buffer implementation

This commit is contained in:
2020-05-04 09:53:27 +02:00
parent 6bc82e437a
commit b436ba12da
+4 -1
View File
@@ -26,7 +26,10 @@ namespace core_buffer {
const size_t REPLAY_READ_BLOCK_SIZE = 100;
// Size of sf_buffer RB in elements.
const size_t BUFFER_RB_SIZE = 1000;
const size_t BUFFER_INTERNAL_QUEUE_SIZE = 1000;
// Time to sleep before retrying to read the queue.
const size_t BUFFER_QUEUE_RETRY_MS = 10;
// Microseconds timeout for UDP recv.
const int BUFFER_UDP_US_TIMEOUT = 10 * 1000;