We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d0424a commit b00b276Copy full SHA for b00b276
site/src/load.rs
@@ -244,13 +244,16 @@ impl SiteCtxt {
244
let mut artifacts: Vec<String> = vec![];
245
246
// Ignore too old artifacts
247
- for line in artifact_list.lines().rev().take(50) {
248
- if let Some(artifact) = parse_published_artifact_tag(&line) {
249
- if !tested_artifacts.contains(artifact.as_str())
250
- && !in_progress_artifacts.contains(&artifact)
251
- {
252
- artifacts.push(artifact);
253
- }
+ for artifact in artifact_list
+ .lines()
+ .rev()
+ .filter_map(parse_published_artifact_tag)
+ .take(20)
+ {
+ if !tested_artifacts.contains(artifact.as_str())
254
+ && !in_progress_artifacts.contains(&artifact)
255
256
+ artifacts.push(artifact);
257
}
258
259
0 commit comments