Skip to content

Commit be6b64a

Browse files
Artifacts are actually kept for 168 days
1 parent 22e3718 commit be6b64a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ use xz2::read::XzDecoder;
5252
/// The first commit which build artifacts are made available through the CI for
5353
/// bisection.
5454
///
55-
/// Due to our deletion policy which expires builds after 90 days, the build
55+
/// Due to our deletion policy which expires builds after 167 days, the build
5656
/// artifacts of this commit itself is no longer available, so this may not be entirely useful;
5757
/// however, it does limit the amount of commits somewhat.
5858
const EPOCH_COMMIT: &str = "927c55d86b0be44337f37cf5b0a76fb8ba86e06c";
@@ -922,11 +922,11 @@ fn bisect_ci(cfg: &Config, client: &Client) -> Result<BisectionResult, Error> {
922922

923923
let mut commits = get_commits(start, end)?;
924924
let now = chrono::Utc::now();
925-
commits.retain(|c| now.signed_duration_since(c.date).num_days() < 90);
925+
commits.retain(|c| now.signed_duration_since(c.date).num_days() < 167);
926926

927927
if commits.is_empty() {
928928
bail!(
929-
"no commits between {} and {} within last 90 days",
929+
"no commits between {} and {} within last 167 days",
930930
start,
931931
end
932932
);

0 commit comments

Comments
 (0)