diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-06-16 19:25:27 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-06-16 19:28:02 +0200 |
commit | db87d45edb175572112aa08840f08bc7c61cadcb (patch) | |
tree | e5c9ae7ff92404be13ba5b01a791be3f8a22f1f8 /config.h | |
parent | fac7648326c6cea478b92872f7abb3f799961cfc (diff) |
Added zLib compression parameters to control compression conditions.
* more structs are now "compressable"
* fixed missing DAEMON_RECONNECT event
* improved memory profiler
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -21,6 +21,9 @@ #define nDPId_MAX_IDLE_FLOWS_PER_THREAD 512u #define nDPId_TICK_RESOLUTION 1000u #define nDPId_MAX_READER_THREADS 32u +#define nDPId_LOG_MEMORY_USAGE_EVERY 5000u /* 5 sec */ +#define nDPId_COMPRESSION_SCAN_PERIOD 20000u /* 20 sec */ +#define nDPId_COMPRESSION_FLOW_INACTIVITY 30000u /* 30 sec */ #define nDPId_IDLE_SCAN_PERIOD 10000u /* 10 sec */ #define nDPId_GENERIC_IDLE_TIME 600000u /* 600 */ #define nDPId_ICMP_IDLE_TIME 30000u /* 30 sec */ |