mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: lower tmp ban duration for trusted or static peers (#12961)
This commit is contained in:
@ -375,7 +375,7 @@ impl PeersManager {
|
||||
if peer.is_trusted() || peer.is_static() {
|
||||
// For misbehaving trusted or static peers, we provide a bit more leeway when
|
||||
// penalizing them.
|
||||
ban_duration = self.backoff_durations.medium;
|
||||
ban_duration = self.backoff_durations.low / 2;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user