From a54131a6e1c7fe6259c30f5cde1a92d2746d4e15 Mon Sep 17 00:00:00 2001 From: Coach Chuck Date: Tue, 28 May 2024 13:24:12 -0600 Subject: [PATCH] run right away --- keepers/validator-keeper/src/operations/vote_account.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keepers/validator-keeper/src/operations/vote_account.rs b/keepers/validator-keeper/src/operations/vote_account.rs index fc8db110..e0c962e4 100644 --- a/keepers/validator-keeper/src/operations/vote_account.rs +++ b/keepers/validator-keeper/src/operations/vote_account.rs @@ -26,8 +26,8 @@ fn _get_operation() -> KeeperOperations { } fn _should_run(epoch_info: &EpochInfo, runs_for_epoch: u64) -> bool { - // Run at 10%, 50% and 90% completion of epoch - (epoch_info.slot_index > epoch_info.slots_in_epoch / 10 && runs_for_epoch < 1) + // Run at 0.1%, 50% and 90% completion of epoch + (epoch_info.slot_index > epoch_info.slots_in_epoch / 1000 && runs_for_epoch < 1) || (epoch_info.slot_index > epoch_info.slots_in_epoch * 5 / 10 && runs_for_epoch < 2) || (epoch_info.slot_index > epoch_info.slots_in_epoch * 9 / 10 && runs_for_epoch < 3) }