From cb91da35f88679ab7759e4679b80c5a78173f196 Mon Sep 17 00:00:00 2001 From: 0o-de-lally <1364012+0o-de-lally@users.noreply.github.com> Date: Tue, 4 Jan 2022 17:32:16 +0000 Subject: [PATCH] chaning tick intervals in mempool and state_sync to 500ms --- config/src/config/mempool_config.rs | 2 +- config/src/config/state_sync_config.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/src/config/mempool_config.rs b/config/src/config/mempool_config.rs index 5b775d1bba..052d6d473e 100644 --- a/config/src/config/mempool_config.rs +++ b/config/src/config/mempool_config.rs @@ -24,7 +24,7 @@ pub struct MempoolConfig { impl Default for MempoolConfig { fn default() -> MempoolConfig { MempoolConfig { - shared_mempool_tick_interval_ms: 50, // TODO: Seems too fast. + shared_mempool_tick_interval_ms: 500, //////// 0L //////// shared_mempool_backoff_interval_ms: 30_000, shared_mempool_batch_size: 100, shared_mempool_ack_timeout_ms: 2_000, diff --git a/config/src/config/state_sync_config.rs b/config/src/config/state_sync_config.rs index 33eaf0854d..54cff807e0 100644 --- a/config/src/config/state_sync_config.rs +++ b/config/src/config/state_sync_config.rs @@ -40,7 +40,7 @@ impl Default for StateSyncConfig { mempool_commit_timeout_ms: 5_000, multicast_timeout_ms: 30_000, sync_request_timeout_ms: 60_000, - tick_interval_ms: 1000, + tick_interval_ms: 500, //////// 0L //////// } } }