better opportunistic grafting score (when score is disabled) (#389)

This commit is contained in:
Giovanni Petrantoni 2020-10-03 09:26:45 +09:00 committed by GitHub
parent 853238a215
commit 0f2435f551
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ proc init*(_: type[GossipSubParams]): GossipSubParams =
gossipThreshold: -10,
publishThreshold: -100,
graylistThreshold: -10000,
opportunisticGraftThreshold: 1,
opportunisticGraftThreshold: 0,
decayInterval: 1.seconds,
decayToZero: 0.01,
retainScore: 10.seconds,