Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
DieracDelta committed Aug 10, 2023
1 parent bcb4ec5 commit 16632f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libp2p-networking/src/network/node/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ pub struct NetworkNodeConfig {
/// list of addresses to connect to at initialization
pub to_connect_addrs: HashSet<(Option<PeerId>, Multiaddr)>,
/// republication interval in DHT, must be much less than `ttl`
#[builder(default)]
pub republication_interval: Option<Duration>,
/// expiratiry for records in DHT
#[builder(default)]
pub ttl: Option<Duration>,
}

Expand Down

0 comments on commit 16632f3

Please sign in to comment.