src/client/backup_writer.rs: reduce verbosity

This commit is contained in:
Dietmar Maurer 2020-02-24 11:33:00 +01:00
parent e899d33e49
commit ee5fe978e2

View File

@ -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(())
}