Refactor replicators to not block on startup (#4932)

* Refactor replicators to not block on startup

* Ignore setup failure
This commit is contained in:
Sagar Dhawan
2019-07-08 10:17:25 -07:00
committed by GitHub
parent 2aac094f63
commit ef7022d638
3 changed files with 275 additions and 212 deletions

View File

@ -138,7 +138,11 @@ where
.collect()
});
retransmit_blobs(&blobs, retransmit, my_pubkey)?;
match retransmit_blobs(&blobs, retransmit, my_pubkey) {
Ok(_) => Ok(()),
Err(Error::SendError) => Ok(()),
Err(e) => Err(e),
}?;
trace!("{} num blobs received: {}", my_pubkey, blobs.len());