mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 01:40:15 +00:00
NAT: increase preallocation time to 30 s
If the realloc fails, next attempt is in 5 seconds which is the same as the preallocation time which may cause an interrupt.
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
|
||||
#define DEFAULT_ALLOCATION_TIMEOUT_S 1800
|
||||
#define MOD_NAME "[NAT] "
|
||||
#define PREALLOCATE_S 5 ///< number of seconds that repeated allocation is performed before timeout
|
||||
#define PREALLOCATE_S 30 ///< number of seconds that repeated allocation is performed before timeout
|
||||
|
||||
struct ug_nat_traverse {
|
||||
enum traverse_t {
|
||||
|
||||
Reference in New Issue
Block a user