Summary
In thold_functions.php (line ~3289), the type 2 warning re-alert window is computed from the wrong field:
// Alert path (correct):
$realerttime = ($thold_data['repeat_alert'] - 1) * $step;
// Warning path (wrong field):
$realerttime = ($thold_data['time_warning_fail_length'] - 1) * $step;
The warning realert window uses time_warning_fail_length (the warning time window length) instead of repeat_alert (the configured re-alert interval). The $ra guard check also uses time_warning_fail_length as its truthy test.
Impact
Warning re-alerts fire at a completely wrong cadence, controlled by the wrong setting.
Fix
Implementation in #805.
Summary
In
thold_functions.php(line ~3289), the type 2 warning re-alert window is computed from the wrong field:The warning realert window uses
time_warning_fail_length(the warning time window length) instead ofrepeat_alert(the configured re-alert interval). The$raguard check also usestime_warning_fail_lengthas its truthy test.Impact
Warning re-alerts fire at a completely wrong cadence, controlled by the wrong setting.
Fix
Implementation in #805.