summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2022-05-27 16:57:40 +0200
committerUrban Müller2022-05-27 16:57:40 +0200
commitb858a76f89f4380fd8997fa75136371688964c9f (patch)
tree02810ff788581d036ed1c70c3060c1417d151407 /it.class
parent55800f97a81fcfc12024352d5bfe7ca952fc0f66 (diff)
downloaditools-b858a76f89f4380fd8997fa75136371688964c9f.tar.gz
itools-b858a76f89f4380fd8997fa75136371688964c9f.tar.bz2
itools-b858a76f89f4380fd8997fa75136371688964c9f.zip
send reminder much later
Diffstat (limited to 'it.class')
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
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
}