Fix self.restart_helper.execs_since_progress_start in calibration stage (#1943)
* fix * fix
This commit is contained in:
parent
ee6385c25b
commit
5cc0180835
@ -121,6 +121,8 @@ where
|
||||
}
|
||||
|
||||
let mut iter = self.stage_max;
|
||||
// If we restarted after a timeout or crash, do less iterations.
|
||||
iter -= usize::try_from(self.restart_helper.execs_since_progress_start(state)?)?;
|
||||
|
||||
let input = state.current_input_cloned()?;
|
||||
|
||||
@ -159,9 +161,6 @@ where
|
||||
let mut i = 1;
|
||||
let mut has_errors = false;
|
||||
|
||||
// If we restarted after a timeout or crash, do less iterations.
|
||||
iter -= usize::try_from(self.restart_helper.execs_since_progress_start(state)?)?;
|
||||
|
||||
while i < iter {
|
||||
let input = state.current_input_cloned()?;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user