Skip to content

Commit

Permalink
chore(node): increase replication frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Oct 21, 2023
1 parent e791d14 commit 63a2316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sn_node/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ impl Node {
let _handle = spawn(async move {
// use a random inactivity timeout to ensure that the nodes do not sync when messages
// are being transmitted.
let inactivity_timeout: i32 = rng.gen_range(20..40);
let inactivity_timeout: i32 = rng.gen_range(5..15);
let inactivity_timeout = Duration::from_secs(inactivity_timeout as u64);

let mut replication_time = Instant::now();
Expand Down

0 comments on commit 63a2316

Please sign in to comment.