Change not_enough_peers to the default log rate

This commit is contained in:
Stephen Akridge 2018-07-19 17:26:36 -07:00 committed by sakridge
parent 313fed375c
commit cba3b35ac9
1 changed files with 1 additions and 1 deletions

View File

@ -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());