pubsub: increase gossip history length to 10 heartbeats

This commit is contained in:
vyzo 2020-08-20 18:09:17 +03:00
parent 98d6d25c74
commit 6193f4e062

View File

@ -32,6 +32,7 @@ func init() {
pubsub.GossipSubDlazy = 12 pubsub.GossipSubDlazy = 12
pubsub.GossipSubDirectConnectInitialDelay = 30 * time.Second pubsub.GossipSubDirectConnectInitialDelay = 30 * time.Second
pubsub.GossipSubIWantFollowupTime = 5 * time.Second pubsub.GossipSubIWantFollowupTime = 5 * time.Second
pubsub.GossipSubHistoryLength = 10
} }
func ScoreKeeper() *dtypes.ScoreKeeper { func ScoreKeeper() *dtypes.ScoreKeeper {
return new(dtypes.ScoreKeeper) return new(dtypes.ScoreKeeper)