From 2a0c8ff38fccdad5ec79cccda6e6625986dce963 Mon Sep 17 00:00:00 2001 From: Michael Tsitrin <114929630+mtsitrin@users.noreply.github.com> Date: Mon, 10 Jul 2023 15:53:35 +0300 Subject: [PATCH] chore: reduced empty blocks and batch submission default values (#391) --- config/defaults.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/defaults.go b/config/defaults.go index 3ccc45bc4..d29d2b8d0 100644 --- a/config/defaults.go +++ b/config/defaults.go @@ -29,8 +29,8 @@ func DefaultConfig(home, chainId string) *NodeConfig { Aggregator: true, BlockManagerConfig: BlockManagerConfig{ BlockTime: 200 * time.Millisecond, - EmptyBlocksMaxTime: 60 * time.Second, - BatchSubmitMaxTime: 600 * time.Second, + EmptyBlocksMaxTime: 3 * time.Second, + BatchSubmitMaxTime: 30 * time.Second, NamespaceID: "000000000000ffff", BlockBatchSize: 500, BlockBatchMaxSizeBytes: 1500000},