From 873ebfd8a3560ff38fd2531b56dbca68e2463122 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Fri, 1 May 2020 09:34:03 +0200 Subject: [PATCH] Add property for RB retry speed --- core-buffer/include/buffer_config.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core-buffer/include/buffer_config.hpp b/core-buffer/include/buffer_config.hpp index 3b8b0d0..1f9b812 100644 --- a/core-buffer/include/buffer_config.hpp +++ b/core-buffer/include/buffer_config.hpp @@ -42,6 +42,9 @@ namespace core_buffer { // Number of pulses between each statistics print out. const size_t STATS_MODULO = 100; + + // If the RB is empty, how much time to wait before trying to read it again. + const size_t RB_READ_RETRY_INTERVAL_MS = 5; } #endif //BUFFERCONFIG_HPP