Skip to content

Commit

Permalink
Increse the number of hpr connect backof steps (#445)
Browse files Browse the repository at this point in the history
This means hotspots will try more often earlier on as they back of which would get them to connect faster given the host rate protections in place
  • Loading branch information
madninja authored Aug 9, 2023
1 parent d533664 commit 639f01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packet_router/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use tracing::{debug, info, warn};

const STORE_GC_INTERVAL: Duration = Duration::from_secs(60);

const RECONNECT_BACKOFF_RETRIES: u32 = 20;
const RECONNECT_BACKOFF_RETRIES: u32 = 40;
const RECONNECT_BACKOFF_MIN_WAIT: Duration = Duration::from_secs(5);
const RECONNECT_BACKOFF_MAX_WAIT: Duration = Duration::from_secs(1800); // 30 minutes

Expand Down

0 comments on commit 639f01e

Please sign in to comment.