mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-03 06:04:13 +02:00
Add usec timeout for socket
This commit is contained in:
@@ -20,6 +20,8 @@ namespace config
|
||||
|
||||
extern uint32_t parameters_read_retry_interval;
|
||||
extern size_t recv_saving_wait_ms;
|
||||
|
||||
extern size_t udp_usec_timeout;
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -25,4 +25,7 @@ namespace config {
|
||||
|
||||
// Max time for compress and commit already acquired RB slots.
|
||||
size_t recv_saving_wait_ms = 100;
|
||||
|
||||
// Microseconds before the udp socket times out.
|
||||
size_t udp_usec_timeout = 100;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user