From 13b1061ee221a03168ba99f311e56d0896ef319b Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 1 Nov 2026 21:00:18 +0100 Subject: path probes follow keepalive --- src/transport/identity.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/transport/identity.rs') diff --git a/src/transport/identity.rs b/src/transport/identity.rs index 3ac06cb..8ef0535 100644 --- a/src/transport/identity.rs +++ b/src/transport/identity.rs @@ -246,13 +246,14 @@ impl Book { impl IdentityTransport { /// Over `transport`, whose addresses have `config.scheme`, and `config.more`. /// `firewall`: the debug firewall, if any, which paths applies by address; `clock`: - /// the node's wall clock (`Paths::new`). + /// the node's wall clock; `keepalive`: the node's keepalive interval (`Paths::new`). pub(crate) fn new( transport: Arc, config: IdentityConfig, traffic: Arc, firewall: Option>, clock: Arc, + keepalive: Duration, ) -> Self { let node_id = config.key.id(); let shared = Arc::new_cyclic(|shared: &std::sync::Weak| { @@ -265,6 +266,7 @@ impl IdentityTransport { Some(Arc::clone(&traffic)), firewall.is_some().then_some(gate), clock, + keepalive, )), firewall, key: config.key, -- cgit v1.3.1