Use a timer to check for death of supervised node's parent

This commit is contained in:
Jon Siwek 2020-01-15 15:27:53 -08:00
parent 7ddd311583
commit dbca14e1fc
6 changed files with 43 additions and 11 deletions

View file

@ -1481,6 +1481,9 @@ int main(int argc, char** argv)
#endif
if ( zeek::supervised_node )
timer_mgr->Add(new zeek::ParentProcessCheckTimer(1, 1));
double time_net_start = current_time(true);;
uint64_t mem_net_start_total;