Signal shutdown when gateway is considered unreachable

This commit is contained in:
Bogdan-Ștefan Neacşu
2025-10-14 12:12:16 +03:00
parent 9856198356
commit bd2e6ee812
@@ -155,6 +155,7 @@ impl MixTrafficController {
error!("Failed to send sphinx packet to the gateway {MAX_FAILURE_COUNT} times in a row - assuming the gateway is dead");
// Do we need to handle the embedded mixnet client case
// separately?
self.shutdown_token.cancel();
break;
}
}