From 8d2bd2b30f6e9fc87a0746093443a4f3a7e31072 Mon Sep 17 00:00:00 2001 From: Pankaj Garg Date: Wed, 13 Mar 2019 16:08:21 -0700 Subject: [PATCH] Reduce ticks per second - It's improving TPS. Temp fix for beacons timeframe --- sdk/src/timing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/src/timing.rs b/sdk/src/timing.rs index 50d6ac017..fd96966e8 100644 --- a/sdk/src/timing.rs +++ b/sdk/src/timing.rs @@ -2,7 +2,7 @@ use std::time::Duration; use std::time::{SystemTime, UNIX_EPOCH}; -pub const NUM_TICKS_PER_SECOND: u64 = 100; +pub const NUM_TICKS_PER_SECOND: u64 = 10; // At 10 ticks/s, 8 ticks per slot implies that leader rotation and voting will happen // every 800 ms. A fast voting cadence ensures faster finality and convergence