From 3dd4c799d3c42452a60116c563db6dfb84aff8a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Sat, 2 Mar 2019 01:35:37 +0100 Subject: [PATCH] Improve debug output --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 7cfbe21..17be178 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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)); } } }