logs
This commit is contained in:
parent
342cc7350a
commit
8b02e0f57c
|
@ -348,7 +348,7 @@ impl Crdt {
|
|||
fn gossip_request(&self) -> Result<(SocketAddr, Protocol)> {
|
||||
let options: Vec<_> = self.table.values().filter(|v| v.id != self.me).collect();
|
||||
if options.len() < 1 {
|
||||
info!("crdt too small for gossip");
|
||||
trace!("crdt too small for gossip");
|
||||
return Err(Error::CrdtTooSmall);
|
||||
}
|
||||
let n = (Self::random() as usize) % options.len();
|
||||
|
|
Loading…
Reference in New Issue