set pubsub IPColocationFactor to 5
This commit is contained in:
parent
0e2f697217
commit
de390749fc
@ -223,8 +223,8 @@ func GossipSub(in GossipIn) (service *pubsub.PubSub, err error) {
|
|||||||
},
|
},
|
||||||
AppSpecificWeight: 1,
|
AppSpecificWeight: 1,
|
||||||
|
|
||||||
// This sets the IP colocation threshold to 1 peer per
|
// This sets the IP colocation threshold to 5 peers before we apply penalties
|
||||||
IPColocationFactorThreshold: 1,
|
IPColocationFactorThreshold: 5,
|
||||||
IPColocationFactorWeight: -100,
|
IPColocationFactorWeight: -100,
|
||||||
// TODO we want to whitelist IPv6 /64s that belong to datacenters etc
|
// TODO we want to whitelist IPv6 /64s that belong to datacenters etc
|
||||||
// IPColocationFactorWhitelist: map[string]struct{}{},
|
// IPColocationFactorWhitelist: map[string]struct{}{},
|
||||||
|
Loading…
Reference in New Issue
Block a user