Skip to content

Commit d2a41d4

Browse files
Ahmet OeztuerkAhmet Oeztuerk
authored andcommitted
remove older check_interval based stale detection
1 parent d1cd257 commit d2a41d4

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

lib/Thruk/Controller/extinfo.pm

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,11 +1086,6 @@ sub _check_stale_check {
10861086
$second_next_planned_check = $next_planned_check + $retry_interval;
10871087
}
10881088

1089-
# wait at least twice of the normal check interval
1090-
if($obj->{'last_check'} > time() - $check_interval * 2) {
1091-
return(0);
1092-
}
1093-
10941089
return(0) if $second_next_planned_check > time();
10951090

10961091
# did any of the parents fail?

0 commit comments

Comments
 (0)