mirror of https://github.com/vacp2p/nim-libp2p.git
better opportunistic grafting score (when score is disabled) (#389)
This commit is contained in:
parent
853238a215
commit
0f2435f551
|
@ -177,7 +177,7 @@ proc init*(_: type[GossipSubParams]): GossipSubParams =
|
||||||
gossipThreshold: -10,
|
gossipThreshold: -10,
|
||||||
publishThreshold: -100,
|
publishThreshold: -100,
|
||||||
graylistThreshold: -10000,
|
graylistThreshold: -10000,
|
||||||
opportunisticGraftThreshold: 1,
|
opportunisticGraftThreshold: 0,
|
||||||
decayInterval: 1.seconds,
|
decayInterval: 1.seconds,
|
||||||
decayToZero: 0.01,
|
decayToZero: 0.01,
|
||||||
retainScore: 10.seconds,
|
retainScore: 10.seconds,
|
||||||
|
|
Loading…
Reference in New Issue