remove unused file

This commit is contained in:
Ayrat Badykov 2021-06-23 14:32:21 +03:00
parent b92af896d4
commit e009747dd0
No known key found for this signature in database
GPG key ID: 16AE533AB7A3E8C6
2 changed files with 1 additions and 8 deletions

View file

@ -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>;
}

View file

@ -35,7 +35,7 @@ impl WorkerThread {
}
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!(
"starting a worker thread {}, number of restarts {}",