Skip to content

Commit 94f7e49

Browse files
committed
remove shutdown notification from downstream disconnect
1 parent 1d4b5c4 commit 94f7e49

File tree

1 file changed

+1
-2
lines changed
  • roles/translator/src/lib

1 file changed

+1
-2
lines changed

roles/translator/src/lib/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl TranslatorSv2 {
9494
match task_status_.state {
9595
State::DownstreamShutdown(err) | State::BridgeShutdown(err) | State::UpstreamShutdown(err) => {
9696
error!("SHUTDOWN from: {}", err);
97-
self.shutdown().notify_one();
97+
break;
9898
}
9999
State::UpstreamTryReconnect(err) => {
100100
error!("Trying to reconnect the Upstream because of: {}", err);
@@ -126,7 +126,6 @@ impl TranslatorSv2 {
126126
}
127127
State::Healthy(msg) => {
128128
info!("HEALTHY message: {}", msg);
129-
self.shutdown().notify_one();
130129
}
131130
}
132131
} else {

0 commit comments

Comments
 (0)