Skip to content

Commit

Permalink
chore: fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhirin committed Sep 4, 2023
1 parent ed6a9b4 commit c69e7e6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/net/discv4/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,15 +116,15 @@ impl Default for Discv4Config {
fn default() -> Self {
Self {
enable_packet_filter: false,
/// This should be high enough to cover an entire recursive FindNode lookup which is
/// includes sending FindNode to nodes it discovered in the rounds using the
/// concurrency factor ALPHA
// This should be high enough to cover an entire recursive FindNode lookup which is
// includes sending FindNode to nodes it discovered in the rounds using the concurrency
// factor ALPHA
udp_egress_message_buffer: 1024,
/// Every outgoing request will eventually lead to an incoming response
udp_ingress_message_buffer: 1024,
max_find_node_failures: 5,
ping_interval: Duration::from_secs(60 * 10),
/// unified expiration and timeout durations, mirrors geth's `expiration` duration
// Unified expiration and timeout durations, mirrors geth's `expiration` duration
ping_expiration: Duration::from_secs(20),
bond_expiration: Duration::from_secs(60 * 60),
enr_expiration: Duration::from_secs(20),
Expand All @@ -141,7 +141,7 @@ impl Default for Discv4Config {
enforce_expiration_timestamps: true,
additional_eip868_rlp_pairs: Default::default(),
external_ip_resolver: Some(Default::default()),
/// By default retry public IP using a 5min interval
// By default retry public IP using a 5min interval
resolve_external_ip_interval: Some(Duration::from_secs(60 * 5)),
}
}
Expand Down

0 comments on commit c69e7e6

Please sign in to comment.