oops there's an infinite loop

This commit is contained in:
Michael Zhang 2023-08-14 11:59:07 -05:00
parent 89e152c715
commit 5c50efd836
2 changed files with 3 additions and 3 deletions

View file

@ -3,9 +3,7 @@ use std::collections::HashMap;
use axum::extract::{Path, State};
use axum::Json;
use entity::{process, service};
use sea_orm::{
EntityTrait, ModelTrait,
};
use sea_orm::{EntityTrait, ModelTrait};
use crate::error::Result;
use crate::AppState;

View file

@ -52,6 +52,7 @@ impl Scheduler {
println!("Spawned worker thread [{}]: {handle:?}", worker);
}
/*
tokio::spawn(async {
loop {
// TODO: Implement
@ -60,5 +61,6 @@ impl Scheduler {
// add new incomplete containers to the worker queue
}
});
*/
}
}