mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
make heart beat interval for threading configureable from scripting layer
This commit is contained in:
parent
4558195dab
commit
6a60f484f9
4 changed files with 15 additions and 2 deletions
|
@ -120,7 +120,7 @@ protected:
|
|||
virtual const char* Tag() { return "threading::Manager"; }
|
||||
|
||||
private:
|
||||
static const int HEART_BEAT_INTERVAL = 1;
|
||||
int heart_beat_interval;
|
||||
|
||||
typedef std::list<BasicThread*> all_thread_list;
|
||||
all_thread_list all_threads;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue