mirror of
https://github.com/telemt/telemt.git
synced 2026-05-01 09:24:10 +03:00
RPC Proxy-req fixes
Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
This commit is contained in:
@@ -171,6 +171,9 @@ async fn rpc_proxy_req_signal_loop(
|
||||
rpc_proxy_req_every_secs: u64,
|
||||
) {
|
||||
if rpc_proxy_req_every_secs == 0 {
|
||||
// Disabled service signal loop must stay parked until writer cancellation.
|
||||
// Returning immediately here would complete `select!` and tear down writer lifecycle.
|
||||
cancel_signal.cancelled().await;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user