Skip to content

Commit

Permalink
bump peers to 40
Browse files Browse the repository at this point in the history
  • Loading branch information
Lior Rutenberg committed Jul 17, 2024
1 parent 1f9696d commit de094ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/p2p/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit de094ae

Please sign in to comment.