diff options
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -207,7 +207,7 @@ static function error($p = array(), $extra = null) list($okfn, $okstatus) = explode("=", "/tmp/alertdata/okstate_" . $p['okstate']); $failcount = $okstatus ? 0 : (int)@file_get_contents($okfn) + 1; # NOPHPLINT file_put_contents($okfn, "$failcount\n"); # NOPHPLINT - if ($failcount != $p['failcount'] && $failcount != $p['failcount'] * 2) + if ($failcount != $p['failcount'] && $failcount != $p['failcount'] * 30) return $p['fatal'] && !$okstatus ? self::_exit($p) : null; # nothing to report } |