src/client/backup_writer.rs: reduce verbosity
This commit is contained in:
parent
e899d33e49
commit
ee5fe978e2
@ -394,10 +394,11 @@ impl BackupWriter {
|
|||||||
|
|
||||||
while let Some(chunk) = stream.try_next().await? {
|
while let Some(chunk) = stream.try_next().await? {
|
||||||
let _ = flow_control.release_capacity(chunk.len());
|
let _ = flow_control.release_capacity(chunk.len());
|
||||||
println!("GOT DOWNLOAD {}", digest_to_hex(&chunk));
|
|
||||||
known_chunks.lock().unwrap().insert(chunk);
|
known_chunks.lock().unwrap().insert(chunk);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
println!("known chunks list length: {}", known_chunks.lock().unwrap().len());
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user