diff --git a/network/p2p/config.go b/network/p2p/config.go index e71fe179c3..c37601d88b 100644 --- a/network/p2p/config.go +++ b/network/p2p/config.go @@ -45,7 +45,7 @@ type Config struct { RequestTimeout time.Duration `yaml:"RequestTimeout" env:"P2P_REQUEST_TIMEOUT" env-default:"10s"` MaxBatchResponse uint64 `yaml:"MaxBatchResponse" env:"P2P_MAX_BATCH_RESPONSE" env-default:"25" env-description:"Maximum number of returned objects in a batch"` - MaxPeers int `yaml:"MaxPeers" env:"P2P_MAX_PEERS" env-default:"20" env-description:"Connected peers limit for connections"` + MaxPeers int `yaml:"MaxPeers" env:"P2P_MAX_PEERS" env-default:"40" env-description:"Connected peers limit for connections"` TopicMaxPeers int `yaml:"TopicMaxPeers" env:"P2P_TOPIC_MAX_PEERS" env-default:"60" env-description:"Connected peers limit per pubsub topic"` // Subnets is a static bit list of subnets that this node will register upon start.