Skip to content

Commit 01ba579

Browse files
committed
Chore; comment out marking in progress, just log out for now
1 parent 62e2704 commit 01ba579

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

site/src/job_queue.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,12 @@ async fn enqueue_next_job(conn: &mut dyn database::pool::Connection) -> anyhow::
265265

266266
if let Some(request) = queue.into_iter().next() {
267267
if request.status != BenchmarkRequestStatus::InProgress {
268-
// TODO: actually enqueue the jobs
269-
conn.update_benchmark_request_status(&request, BenchmarkRequestStatus::InProgress)
270-
.await?;
268+
log::info!("{:?} would have been marked as InProgress", request);
269+
// TODO:
270+
// - Uncomment this code
271+
// - Actually enqueue the jobs
272+
// conn.update_benchmark_request_status(&request, BenchmarkRequestStatus::InProgress)
273+
// .await?;
271274
}
272275
}
273276

0 commit comments

Comments
 (0)