Skip to content

Commit

Permalink
Merge pull request #4183 from filecoin-project/fix/relax-colocation-f…
Browse files Browse the repository at this point in the history
…actor

relax pubsub IPColocationFactorThreshold to 5
  • Loading branch information
magik6k authored Oct 6, 2020
2 parents 0e2f697 + de39074 commit 1a170e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/modules/lp2p/pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ func GossipSub(in GossipIn) (service *pubsub.PubSub, err error) {
},
AppSpecificWeight: 1,

// This sets the IP colocation threshold to 1 peer per
IPColocationFactorThreshold: 1,
// This sets the IP colocation threshold to 5 peers before we apply penalties
IPColocationFactorThreshold: 5,
IPColocationFactorWeight: -100,
// TODO we want to whitelist IPv6 /64s that belong to datacenters etc
// IPColocationFactorWhitelist: map[string]struct{}{},
Expand Down

0 comments on commit 1a170e1

Please sign in to comment.