Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions protocols/rendezvous/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,7 @@ fn handle_outbound_event(
expiring_registrations.extend(registrations.iter().cloned().map(|registration| {
async move {
// if the timer errors we consider it expired
let _ = futures_timer::Delay::new(Duration::from_secs(registration.ttl as u64))
.await;
futures_timer::Delay::new(Duration::from_secs(registration.ttl as u64)).await;

(registration.record.peer_id(), registration.namespace)
}
Expand Down