RPC Proxy-req fixes

Co-Authored-By: brekotis <93345790+brekotis@users.noreply.github.com>
This commit is contained in:
Alexey
2026-03-25 22:51:00 +03:00
parent 1bbf4584a6
commit 7de822dd15
2 changed files with 4 additions and 1 deletions

View File

@@ -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;
}