Function zebra_network::peer::handshake::send_periodic_heartbeats_run_loop
source ยท async fn send_periodic_heartbeats_run_loop(
connected_addr: ConnectedAddr,
server_tx: Sender<ClientRequest>,
heartbeat_ts_collector: Sender<MetaAddrChange>,
) -> Result<(), BoxError>
Expand description
Send periodical heartbeats to server_tx
, and update the peer status through
heartbeat_ts_collector
.
See send_periodic_heartbeats_with_shutdown_handle
for details.