Skip to content

Commit ccee482

Browse files
committed
docs
1 parent c3db6a8 commit ccee482

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/net/discovery.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ use n0_future::{
1616
};
1717

1818
pub(crate) struct RetentionOpts {
19+
/// How long to keep received node info records alive before pruning them
1920
retention: Duration,
21+
/// How often to check for expired entries
2022
evict_interval: Duration,
2123
}
2224

0 commit comments

Comments
 (0)