Skip to content

Commit 845e336

Browse files
committed
feat: temporarily use shorter icing periods
1 parent 5e0ad77 commit 845e336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/src/defaults.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub trait Defaults {
6262

6363
/// Default period for melt peers
6464
fn connections_check_melted_peers_period(&self) -> Duration {
65-
Duration::from_secs(3600)
65+
Duration::from_secs(300)
6666
}
6767

6868
/// Default period for trying connecting to recently discovered peer addresses
@@ -84,7 +84,7 @@ pub trait Defaults {
8484
/// Period in seconds for a potential peer address to be kept "iced", i.e. will not be tried
8585
/// again before that amount of time.
8686
fn connections_bucketing_ice_period(&self) -> Duration {
87-
Duration::from_secs(14400) // 4 hours
87+
Duration::from_secs(3600) // 4 hours
8888
}
8989

9090
/// Period that indicate the validity of a checked peer

0 commit comments

Comments
 (0)