remove unused file
This commit is contained in:
parent
b92af896d4
commit
e009747dd0
2 changed files with 1 additions and 8 deletions
|
@ -1,7 +0,0 @@
|
||||||
pub trait JobQueue {
|
|
||||||
type Job;
|
|
||||||
type Error;
|
|
||||||
|
|
||||||
fn push(job: Self::Job) -> Result<(), Self::Error>;
|
|
||||||
fn pop(job: Self::Job) -> Result<(), Self::Error>;
|
|
||||||
}
|
|
|
@ -35,7 +35,7 @@ impl WorkerThread {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn spawn_in_pool(name: String, restarts: u64) {
|
pub fn spawn_in_pool(name: String, restarts: u64) {
|
||||||
let mut builder = thread::Builder::new().name(name.clone());
|
let builder = thread::Builder::new().name(name.clone());
|
||||||
|
|
||||||
info!(
|
info!(
|
||||||
"starting a worker thread {}, number of restarts {}",
|
"starting a worker thread {}, number of restarts {}",
|
||||||
|
|
Loading…
Reference in a new issue