Skip to content

Commit 9bc91a1

Browse files
Jump no more than a month at a time
This prevents breaking when jumping past early 2017, by which point we're jumping too fast and run into our early boundary. There could be further polish here, but this seems like an easy and reasonable fix for the time being.
1 parent 31fb289 commit 9bc91a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,9 @@ fn bisect_nightlies(cfg: &Config, client: &Client) -> Result<BisectionResult, Er
798798
last_failure = nightly_date;
799799
}
800800
nightly_date = nightly_date - chrono::Duration::days(jump_length);
801-
jump_length *= 2;
801+
if jump_length < 30 {
802+
jump_length *= 2;
803+
}
802804
if !cfg.args.preserve {
803805
let _ = t.remove(&dl_spec);
804806
}

0 commit comments

Comments
 (0)