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::extract::{Path, State};
|
||||||
use axum::Json;
|
use axum::Json;
|
||||||
use entity::{process, service};
|
use entity::{process, service};
|
||||||
use sea_orm::{
|
use sea_orm::{EntityTrait, ModelTrait};
|
||||||
EntityTrait, ModelTrait,
|
|
||||||
};
|
|
||||||
|
|
||||||
use crate::error::Result;
|
use crate::error::Result;
|
||||||
use crate::AppState;
|
use crate::AppState;
|
||||||
|
|
|
@ -52,6 +52,7 @@ impl Scheduler {
|
||||||
println!("Spawned worker thread [{}]: {handle:?}", worker);
|
println!("Spawned worker thread [{}]: {handle:?}", worker);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
tokio::spawn(async {
|
tokio::spawn(async {
|
||||||
loop {
|
loop {
|
||||||
// TODO: Implement
|
// TODO: Implement
|
||||||
|
@ -60,5 +61,6 @@ impl Scheduler {
|
||||||
// add new incomplete containers to the worker queue
|
// add new incomplete containers to the worker queue
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue