Skip to content

Commit a26041b

Browse files
committed
Temporarily disable release artifact benchmarking
1 parent 00be711 commit a26041b

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

site/src/request_handlers/next_artifact.rs

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,19 @@ use collector::api::next_artifact;
44
use std::sync::Arc;
55

66
pub async fn handle_next_artifact(ctxt: Arc<SiteCtxt>) -> next_artifact::Response {
7+
// Temporarily disabled while we migrate to a new collector machine
78
// Prefer benchmarking released artifacts first
8-
match ctxt.missing_published_artifacts().await {
9-
Ok(next_artifact) => {
10-
if let Some(next_artifact) = next_artifact.into_iter().next() {
11-
log::debug!("next_artifact: {next_artifact}");
12-
return next_artifact::Response {
13-
artifact: Some(next_artifact::NextArtifact::Release(next_artifact)),
14-
};
15-
}
16-
}
17-
Err(error) => log::error!("Failed to fetch missing artifacts: {error:?}"),
18-
}
9+
// match ctxt.missing_published_artifacts().await {
10+
// Ok(next_artifact) => {
11+
// if let Some(next_artifact) = next_artifact.into_iter().next() {
12+
// log::debug!("next_artifact: {next_artifact}");
13+
// return next_artifact::Response {
14+
// artifact: Some(next_artifact::NextArtifact::Release(next_artifact)),
15+
// };
16+
// }
17+
// }
18+
// Err(error) => log::error!("Failed to fetch missing artifacts: {error:?}"),
19+
// }
1920

2021
let next_commit = ctxt.missing_commits().await.into_iter().next();
2122

0 commit comments

Comments
 (0)