From 149647cd398b3b55bd6080fa1aa362b221979d1b Mon Sep 17 00:00:00 2001 From: Joshua Oladele Date: Thu, 15 Feb 2024 11:38:37 +0100 Subject: [PATCH] Reduce election rate to 1 min --- chaindexing/src/nodes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chaindexing/src/nodes.rs b/chaindexing/src/nodes.rs index e6ab40b..e9dcaca 100644 --- a/chaindexing/src/nodes.rs +++ b/chaindexing/src/nodes.rs @@ -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();