decay global counters after 2 min
we want rapid reaction to spam attacks
This commit is contained in:
parent
8191980fc8
commit
2ed9fd55ff
@ -23,7 +23,7 @@ var (
|
||||
DefaultPeerGaterIgnoreWeight = 1.0
|
||||
DefaultPeerGaterRejectWeight = 4.0
|
||||
DefaultPeerGaterThreshold = 0.33
|
||||
DefaultPeerGaterGlobalDecay = ScoreParameterDecay(10 * time.Minute)
|
||||
DefaultPeerGaterGlobalDecay = ScoreParameterDecay(2 * time.Minute)
|
||||
DefaultPeerGaterSourceDecay = ScoreParameterDecay(time.Hour)
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user