Exit from av-store loop on fatal error. (#2232)

* Fuse receive stream in Context

* Revert "Fuse receive stream in Context"

This reverts commit ddd26fa98f0ca1afbc22064e93010e4193a058b2.

* Exit on node shutdown from av-store loop

* Filter only context error
This commit is contained in:
Fedor Sakharov authored and GitHub committed 2021-01-08 12:40:46 +01:00
1 parent c0102aafa7
commit 8f293e18c3
1 file changed
+4
+4
View File
@@ -507,6 +507,10 @@ where
match res {
Err(e) => {
e.trace();
if let Error::Subsystem(SubsystemError::Context(_)) = e {
break;
}
}
Ok(true) => {
tracing::info!(target: LOG_TARGET, "received `Conclude` signal, exiting");