Demote 'sorted leader' log

This commit is contained in:
Michael Vines
2018-07-03 08:18:44 -07:00
committed by Grimes
parent 5d8b2f899a
commit 033f6dcbcb

View File

@ -600,7 +600,7 @@ impl Crdt {
}
let mut sorted: Vec<(&PublicKey, usize)> = table.into_iter().collect();
if sorted.len() > 0 {
info!("sorted leaders {:?}", sorted);
debug!("sorted leaders {:?}", sorted);
}
sorted.sort_by_key(|a| a.1);
sorted.last().map(|a| *a.0)