Skip to content

Commit

Permalink
perf(modshare): increase the PeersLimit default (#1968)
Browse files Browse the repository at this point in the history
We expect 750 LN for 200 FN(including BN) and 750/200 ~= 4
And we add plus one because the balancing is randomized and not even
  • Loading branch information
Wondertan authored Mar 27, 2023
1 parent 305e77f commit d277335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodebuilder/share/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type Config struct {

func DefaultConfig() Config {
return Config{
PeersLimit: 3,
PeersLimit: 5,
DiscoveryInterval: time.Second * 30,
AdvertiseInterval: time.Second * 30,
UseShareExchange: true,
Expand Down

0 comments on commit d277335

Please sign in to comment.