cargo fmt

This commit is contained in:
Stephen Akridge
2018-06-05 12:24:39 -07:00
committed by Greg Fitzgerald
parent f511ac9be7
commit a06535d7ed
4 changed files with 100 additions and 30 deletions

View File

@@ -312,9 +312,13 @@ impl Crdt {
let bl = b.unwrap();
let blob = bl.read().expect("blob read lock in streamer::broadcast");
//TODO profile this, may need multiple sockets for par_iter
trace!("broadcast idx: {} sz: {} to {} coding: {}",
blob.get_index().unwrap(), blob.meta.size,
v.replicate_addr, blob.is_coding());
trace!(
"broadcast idx: {} sz: {} to {} coding: {}",
blob.get_index().unwrap(),
blob.meta.size,
v.replicate_addr,
blob.is_coding()
);
assert!(blob.meta.size < BLOB_SIZE);
let e = s.send_to(&blob.data[..blob.meta.size], &v.replicate_addr);
trace!("done broadcast {} to {}", blob.meta.size, v.replicate_addr);