From ee5fe978e2b940f464cf3eb0598baa61f1e79996 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 24 Feb 2020 11:33:00 +0100 Subject: [PATCH] src/client/backup_writer.rs: reduce verbosity --- src/client/backup_writer.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/backup_writer.rs b/src/client/backup_writer.rs index 510b0248..5d2a0127 100644 --- a/src/client/backup_writer.rs +++ b/src/client/backup_writer.rs @@ -394,10 +394,11 @@ impl BackupWriter { while let Some(chunk) = stream.try_next().await? { let _ = flow_control.release_capacity(chunk.len()); - println!("GOT DOWNLOAD {}", digest_to_hex(&chunk)); known_chunks.lock().unwrap().insert(chunk); } + println!("known chunks list length: {}", known_chunks.lock().unwrap().len()); + Ok(()) }