From 7af8f58d46737bb5835aa1625485f22ecf374ebe Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 27 Oct 2026 00:33:03 +0100 Subject: add Transport::delivery_limit --- src/state/peer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/state/peer.rs') diff --git a/src/state/peer.rs b/src/state/peer.rs index 344bcdb..92329b2 100644 --- a/src/state/peer.rs +++ b/src/state/peer.rs @@ -382,7 +382,7 @@ mod tests { /// probes back off meanwhile. #[test] fn unreachable_until_heard_from() { - let timing = Timing::from_keepalive(Duration::from_secs(60)); + let timing = Timing::from_keepalive(Duration::from_secs(60), Duration::from_secs(300)); let mut peer = PeerState::new(true, &timing); let start = Instant::now(); for _ in 0..UNREACHABLE_AFTER_HELLOS { -- cgit v1.3.1