File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1062,7 +1062,7 @@ sub _check_stale_check {
10621062 my $current_attempt = $obj -> {' current_attempt' };
10631063 my $state = $obj -> {' state' };
10641064 my $last_check = $obj -> {' last_check' }; # Last time the check got an answer
1065- # obj.next_check is refreshed, even when there hasnt been any responses for a while.
1065+ # obj.next_check is refreshed, even when there hasnt been any responses for a while.
10661066 # Staleness detection is based on last_check, next_check does not help
10671067
10681068 my $next_planned_check = 0;
@@ -1084,6 +1084,7 @@ sub _check_stale_check {
10841084 }
10851085 else {
10861086 $second_next_planned_check = $next_planned_check + $retry_interval ;
1087+ }
10871088
10881089 # wait at least twice of the normal check interval
10891090 if ($obj -> {' last_check' } > time () - $check_interval * 2) {
You can’t perform that action at this time.
0 commit comments