diff --git a/scripts/base/init-bare.bro b/scripts/base/init-bare.bro index 3a5b2023dd..4637580337 100644 --- a/scripts/base/init-bare.bro +++ b/scripts/base/init-bare.bro @@ -1489,7 +1489,7 @@ module Threading; export { ## The heart beat interval used by the threading framework. ## Changing this should usually not be neccessary and will break several tests. - const heart_beat_interval = 1.0 &redef; + const heart_beat_interval = 1.0 secs &redef; } module GLOBAL; diff --git a/src/const.bif b/src/const.bif index aadb1e1ab7..f9e5f61644 100644 --- a/src/const.bif +++ b/src/const.bif @@ -12,4 +12,4 @@ const NFS3::return_data: bool; const NFS3::return_data_max: count; const NFS3::return_data_first_only: bool; -const Threading::heart_beat_interval: double; +const Threading::heart_beat_interval: interval;