From 3559cada4b103603dd4109f9d6ebf7ed64f13f5c Mon Sep 17 00:00:00 2001 From: laizy Date: Tue, 21 May 2024 00:29:37 +0800 Subject: [PATCH] change MAX_PEER_CONNECTIONS --- consensus/vbft/state_mgmt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/vbft/state_mgmt.go b/consensus/vbft/state_mgmt.go index c1a95dab3..0139a0b67 100644 --- a/consensus/vbft/state_mgmt.go +++ b/consensus/vbft/state_mgmt.go @@ -29,7 +29,7 @@ import ( const ( // TODO: move to config file - MAX_PEER_CONNECTIONS = 100 + MAX_PEER_CONNECTIONS = 10 MAX_SYNCING_CHECK_BLK_NUM = 10 )