Gossip PullRequests tend to return a lot of duplicates. (#10326)

* filter messages that are likely to be pushed from the response

* tests

* tests

* wait to start filtering responses, and push stats to influx

* wait to start filtering responses, and push stats to influx

* reduce the timers to match the publish self timeout

* fmt

* fmt
This commit is contained in:
anatoly yakovenko
2020-06-05 08:01:45 -07:00
committed by GitHub
parent 3cea73cf14
commit 31e20eff82
4 changed files with 79 additions and 7 deletions

View File

@ -436,7 +436,7 @@ fn network_run_pull(
let rsp = node
.lock()
.unwrap()
.generate_pull_responses(&filters)
.generate_pull_responses(&filters, None)
.into_iter()
.flatten()
.collect();