Skip to content

Commit

Permalink
tweak duplicate/reject weights
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Sep 7, 2020
1 parent 2ed9fd5 commit 40762e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions peer_gater.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import (
var (
DefaultPeerGaterRetainStats = 6 * time.Hour
DefaultPeerGaterQuiet = time.Minute
DefaultPeerGaterDuplicateWeight = 0.25
DefaultPeerGaterDuplicateWeight = 0.125
DefaultPeerGaterIgnoreWeight = 1.0
DefaultPeerGaterRejectWeight = 4.0
DefaultPeerGaterRejectWeight = 16.0
DefaultPeerGaterThreshold = 0.33
DefaultPeerGaterGlobalDecay = ScoreParameterDecay(2 * time.Minute)
DefaultPeerGaterSourceDecay = ScoreParameterDecay(time.Hour)
Expand Down

0 comments on commit 40762e1

Please sign in to comment.