Remove greedy fetch in shred_fetch stage (#6278)

* Remove greedy fetch in shred_fetch stage

* cleanup
This commit is contained in:
Pankaj Garg
2019-10-09 10:36:05 -07:00
committed by GitHub
parent cfbfcb5734
commit 2db83e1a21
3 changed files with 14 additions and 46 deletions

View File

@@ -263,7 +263,7 @@ impl Replicator {
.map(Arc::new)
.collect();
let (blob_fetch_sender, blob_fetch_receiver) = channel();
let fetch_stage = ShredFetchStage::new_multi_socket(
let fetch_stage = ShredFetchStage::new(
blob_sockets,
blob_forward_sockets,
&blob_fetch_sender,