Skip to content

Commit

Permalink
Reduce election rate to 1 min
Browse files Browse the repository at this point in the history
  • Loading branch information
Jurshsmith committed Feb 15, 2024
1 parent 5911b41 commit 149647c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chaindexing/src/nodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub struct Node {
}

impl Node {
pub const ELECTION_RATE_SECS: u64 = 5;
pub const ELECTION_RATE_SECS: u64 = 60;

pub fn get_min_active_at() -> i64 {
let now = chrono::Utc::now().timestamp();
Expand Down

0 comments on commit 149647c

Please sign in to comment.