Add usec timeout for socket

This commit is contained in:
2020-04-15 12:54:29 +02:00
parent 626f4f9953
commit 5696335e6c
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -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
+3
View File
@@ -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;
}