From e26629ef0d78c3283d0fd0096e425a2a85e64cbb Mon Sep 17 00:00:00 2001 From: Michael Tsitrin Date: Mon, 10 Jul 2023 13:03:29 +0300 Subject: [PATCH] reduced empty blocks and batch submission default values --- 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},