Retry send errors in passive task

This commit is contained in:
QuantumEntangledAndy committed 2023-10-26 13:34:03 +07:00
1 parent 71dc655673
commit a6c8665a98
1 file changed
+1 -1
+1 -1
View File
@@ -199,7 +199,7 @@ impl NeoInstance {
let is_dropped = e.get_ref().is_some_and(|e| {
log::debug!("Std IO Error: Inner: {:?}", e);
matches!(e.downcast_ref::<neolink_core::Error>(),
Some(neolink_core::Error::DroppedConnection) | Some(neolink_core::Error::TimeoutDisconnected)
Some(neolink_core::Error::DroppedConnection) | Some(neolink_core::Error::TimeoutDisconnected) | Some(neolink_core::Error::TokioBcSendError)
)
});
if is_dropped {