summaryrefslogtreecommitdiffstats
path: root/src/state/peer.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-27 00:33:03 +0100
committertv <tv@krebsco.de>2026-10-27 00:33:03 +0100
commit7af8f58d46737bb5835aa1625485f22ecf374ebe (patch)
tree4a2c82a4cc83fa7c14673f98a14c81d3ff0822a0 /src/state/peer.rs
parentef4ec226ef720f4c3bdba5ae534465f67cda04ee (diff)
add Transport::delivery_limit
Diffstat (limited to 'src/state/peer.rs')
-rw-r--r--src/state/peer.rs2
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 {