Change not_enough_peers to the default log rate
This commit is contained in:
parent
313fed375c
commit
cba3b35ac9
|
@ -566,7 +566,7 @@ impl Crdt {
|
|||
) -> Result<()> {
|
||||
if broadcast_table.is_empty() {
|
||||
warn!("{:x}:not enough peers in crdt table", me.debug_id());
|
||||
inc_new_counter!("crdt-broadcast-not_enough_peers_error", 1, 1);
|
||||
inc_new_counter!("crdt-broadcast-not_enough_peers_error", 1);
|
||||
Err(CrdtError::NoPeers)?;
|
||||
}
|
||||
trace!("broadcast nodes {}", broadcast_table.len());
|
||||
|
|
Loading…
Reference in New Issue