Skip to content

Commit

Permalink
fix: update the default connections (max and min)
Browse files Browse the repository at this point in the history
  • Loading branch information
b00f committed Nov 6, 2023
1 parent 4d4965e commit bbcc1b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ func SaveTestnetConfig(path string, numValidators int) error {
"/dns/pactus.nodesync.top/tcp/21777/p2p/12D3KooWP25ejVsd7cL5DvWAPwEu4JTUwnPniHBf4w93tgSezVt8", // NodeSync.Top ([email protected])
"/ip4/95.217.89.202/tcp/21777/p2p/12D3KooWMsi5oYkbbpyyXctmPXzF8UZu2pCvKPRZGyvymhN9BzTD", // CodeBlockLabs ([email protected])
}
conf.Network.MinConns = 8
conf.Network.MaxConns = 16
conf.Network.MinConns = 16
conf.Network.MaxConns = 32
conf.Network.EnableNAT = false
conf.Network.EnableRelay = false
conf.Network.RelayAddrStrings = []string{
Expand Down
4 changes: 2 additions & 2 deletions network/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ func DefaultConfig() *Config {
},
RelayAddrStrings: []string{},
BootstrapAddrStrings: bootstrapAddrs,
MinConns: 8,
MaxConns: 16,
MinConns: 16,
MaxConns: 32,
EnableNAT: false,
EnableRelay: false,
EnableMdns: false,
Expand Down

0 comments on commit bbcc1b6

Please sign in to comment.