GH-1949: Remove unused timer_mgr_inactivity_timeout global

This commit is contained in:
Tim Wojtulewicz 2022-02-22 15:16:36 -07:00
parent 1de8191c86
commit 08bf6f13e2
3 changed files with 0 additions and 9 deletions

View file

@ -4963,9 +4963,6 @@ const dpd_ignore_ports = F &redef;
## connection if it misses the initial handshake. ## connection if it misses the initial handshake.
const likely_server_ports: set[port] &redef; const likely_server_ports: set[port] &redef;
## Per-incident timer managers are drained after this amount of inactivity.
const timer_mgr_inactivity_timeout = 1 min &redef;
## If true, output profiling for Time-Machine queries. ## If true, output profiling for Time-Machine queries.
const time_machine_profiling = F &redef; const time_machine_profiling = F &redef;

View file

@ -189,8 +189,6 @@ int dpd_ignore_ports;
int check_for_unused_event_handlers; int check_for_unused_event_handlers;
double timer_mgr_inactivity_timeout;
int record_all_packets; int record_all_packets;
bro_uint_t bits_per_uid; bro_uint_t bits_per_uid;
@ -345,8 +343,6 @@ void init_net_var()
dpd_match_only_beginning = id::find_val("dpd_match_only_beginning")->AsBool(); dpd_match_only_beginning = id::find_val("dpd_match_only_beginning")->AsBool();
dpd_late_match_stop = id::find_val("dpd_late_match_stop")->AsBool(); dpd_late_match_stop = id::find_val("dpd_late_match_stop")->AsBool();
dpd_ignore_ports = id::find_val("dpd_ignore_ports")->AsBool(); dpd_ignore_ports = id::find_val("dpd_ignore_ports")->AsBool();
timer_mgr_inactivity_timeout = id::find_val("timer_mgr_inactivity_timeout")->AsInterval();
} }
} // namespace zeek::detail } // namespace zeek::detail

View file

@ -90,8 +90,6 @@ extern int dpd_ignore_ports;
extern int check_for_unused_event_handlers; extern int check_for_unused_event_handlers;
extern double timer_mgr_inactivity_timeout;
extern int record_all_packets; extern int record_all_packets;
extern bro_uint_t bits_per_uid; extern bro_uint_t bits_per_uid;