Improve debug output

This commit is contained in:
Patrick Lühne 2019-03-02 01:35:37 +01:00
parent 688aa48306
commit 3dd4c799d3
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -415,6 +415,9 @@ impl BenchmarkRepository
while !active_job_ids.is_empty()
{
info!("waiting for jobs to finish");
std::thread::sleep(std::time::Duration::from_secs(2));
active_job_ids.retain
(
|job_id|
@ -433,7 +436,7 @@ impl BenchmarkRepository
Err(_) => return true,
};
info!("job {} finished", job_id);
info!("job {} ({}) finished", job_id, job.key);
let remote_commit = match Self::tip_commit(&self.repository, true, "results")
{
@ -444,9 +447,6 @@ impl BenchmarkRepository
false
}
);
println!("...");
std::thread::sleep(std::time::Duration::from_secs(2));
}
}
}