File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1070,20 +1070,21 @@ sub _check_stale_check {
10701070 $next_planned_check = $last_check + $check_interval ;
10711071 }
10721072 elsif ($state != 0 && $current_attempt != $max_check_attempts ) {
1073- $next_planned_check = $last_check + $check_interval ;
1073+ $next_planned_check = $last_check + $retry_interval ;
10741074 }
10751075 else {
1076- $next_planned_check = $last_check + $retry_interval ;
1076+ $next_planned_check = $last_check + $check_interval ;
10771077 }
1078+
10781079 my $second_next_planned_check = 0;
10791080 if ($state == 0) {
10801081 $second_next_planned_check = $next_planned_check + $check_interval ;
10811082 }
10821083 elsif ($state != 0 && $current_attempt != $max_check_attempts ) {
1083- $second_next_planned_check = $next_planned_check + $check_interval ;
1084+ $second_next_planned_check = $next_planned_check + $retry_interval ;
10841085 }
10851086 else {
1086- $second_next_planned_check = $next_planned_check + $retry_interval ;
1087+ $second_next_planned_check = $next_planned_check + $check_interval ;
10871088 }
10881089
10891090 return (0) if $second_next_planned_check > time ();
You can’t perform that action at this time.
0 commit comments