mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-22 22:54:35 +02:00
Add parameters for new sf_buffer implementation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user