diff options
| author | tv <tv@krebsco.de> | 2026-10-27 00:33:03 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-27 00:33:03 +0100 |
| commit | aea4133ecb303262d9c966322d34ed73ed22e122 (patch) | |
| tree | ca731d468ff2a06535988147ab5a8f3836606ee3 /src/state/peer.rs | |
| parent | 38d5af73d40f1d94ef141b4e5991c7c7182a0028 (diff) | |
add Transport::delivery_limit
Diffstat (limited to 'src/state/peer.rs')
| -rw-r--r-- | src/state/peer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
