Skip to content

Commit

Permalink
change delays
Browse files Browse the repository at this point in the history
  • Loading branch information
link2xt committed Aug 27, 2024
1 parent 134b34f commit ea8c1ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ pub(crate) const CACHE_TTL: u64 = 30 * 24 * 60 * 60;
/// This way we can have up to 5 parallel connection attempts at the same time.
pub(crate) const CONNECTION_DELAYS: [Duration; 4] = [
Duration::from_millis(300),
Duration::from_secs(1),
Duration::from_secs(5),
Duration::from_secs(10),
Duration::from_secs(15),
];

/// Removes connection history entries after `CACHE_TTL`.
Expand Down

0 comments on commit ea8c1ed

Please sign in to comment.