File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
site/src/request_handlers Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,13 @@ pub async fn handle_status_page_new(ctxt: Arc<SiteCtxt>) -> anyhow::Result<statu
1515 let index = conn. load_benchmark_request_index ( ) . await ?;
1616
1717 // The queue contains any in-progress request(s) and then the following requests in queue order
18+ // We reverse so that it starts with the request that will be benchmarked the latest
1819 let mut queue: Vec < status_new:: BenchmarkRequest > = build_queue ( & * conn, & index)
1920 . await ?
2021 . into_iter ( )
2122 . map ( |req| request_to_ui ( & req, HashMap :: new ( ) ) )
2223 . collect ( ) ;
23-
24+ queue . reverse ( ) ;
2425 // And then we add N most recently completed requests to it
2526 let completed = conn. get_last_n_completed_benchmark_requests ( 10 ) . await ?;
2627 queue. extend (
You can’t perform that action at this time.
0 commit comments