Fix dht counters.

This commit is contained in:
Thomas Yuan 2015-09-11 13:58:33 -04:00
parent 8b6b8240c1
commit c0d20d7708
2 changed files with 3 additions and 1 deletions

View File

@ -256,6 +256,8 @@ bool obfuscated_get_peers::invoke(observer_ptr o)
, o->target_ep());
}
m_node.stats_counters().inc_stats_counter(counters::dht_get_peers_out);
return m_node.m_rpc.invoke(e, o->target_ep(), o);
}

View File

@ -62,7 +62,7 @@ bool bootstrap::invoke(observer_ptr o)
// e["q"] = "find_node";
// a["target"] = target().to_string();
m_node.stats_counters().inc_stats_counter(counters::dht_find_node_out);
m_node.stats_counters().inc_stats_counter(counters::dht_get_peers_out);
return m_node.m_rpc.invoke(e, o->target_ep(), o);
}