Add metric measuring number of successfully inserted push messages (#20275)

* Add number of successfully inserted push messages
This commit is contained in:
carllin
2021-09-28 21:41:17 -07:00
committed by GitHub
parent 491877de3d
commit ee8621a8bd
4 changed files with 28 additions and 6 deletions

View File

@ -357,6 +357,7 @@ fn network_run_push(
.unwrap()
.gossip
.process_push_message(&from, msgs.clone(), now)
.1
.into_iter()
.collect();
let prunes_map = network