No longer need to ignore downstream send errors

By removing the exit variables, the downstream stages wait for
upstream stages to drop their senders before exiting.
This commit is contained in:
Greg Fitzgerald 2018-07-05 15:52:19 -06:00 committed by Greg Fitzgerald
parent d1c317fd5f
commit 9bd63867aa
2 changed files with 0 additions and 2 deletions

View File

@ -48,7 +48,6 @@ impl BankingStage {
match e {
Error::RecvTimeoutError(RecvTimeoutError::Disconnected) => break,
Error::RecvTimeoutError(RecvTimeoutError::Timeout) => (),
Error::SendError => (), // Ignore when downstream stage exits prematurely.
_ => error!("{:?}", e),
}
}

View File

@ -64,7 +64,6 @@ impl WriteStage {
match e {
Error::RecvTimeoutError(RecvTimeoutError::Disconnected) => break,
Error::RecvTimeoutError(RecvTimeoutError::Timeout) => (),
Error::SendError => (), // Ignore when downstream stage exits prematurely.
_ => error!("{:?}", e),
}
};