File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
site/src/request_handlers Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -4,18 +4,19 @@ use collector::api::next_artifact;
44use std:: sync:: Arc ;
55
66pub 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
You can’t perform that action at this time.
0 commit comments