oops there's an infinite loop
This commit is contained in:
parent
89e152c715
commit
5c50efd836
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
}
|
||||
});
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue