Remove unwanted loop

This commit is contained in:
Patrick Lühne 2019-03-02 01:13:06 +01:00
parent 5cfeef55d4
commit a6a1d11b3e
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -418,8 +418,6 @@ impl BenchmarkRepository
active_job_ids.insert(job_id); active_job_ids.insert(job_id);
} }
loop
{
while !active_job_ids.is_empty() while !active_job_ids.is_empty()
{ {
active_job_ids.retain active_job_ids.retain
@ -456,7 +454,6 @@ impl BenchmarkRepository
std::thread::sleep(std::time::Duration::from_secs(2)); std::thread::sleep(std::time::Duration::from_secs(2));
} }
} }
}
} }
#[cfg(test)] #[cfg(test)]