From b858a76f89f4380fd8997fa75136371688964c9f Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 27 May 2022 16:57:40 +0200 Subject: send reminder much later --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it.class b/it.class index 7ea6862..194f448 100644 --- a/it.class +++ b/it.class @@ -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 } -- cgit v1.2.3