Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Make bandwidth banning more lenient for false positives #510

Merged
merged 1 commit into from
Nov 7, 2019

Conversation

albrow
Copy link
Contributor

@albrow albrow commented Nov 7, 2019

We're still seeing a lot of false positives due to libp2p/go-libp2p-core#65 and even after introducing a workaround in #478 peers are still being banned. This PR increases our tolerance for false positives by allowing up to 10 violations over the course of 1 hour before actually banning a peer (the previous version allowed 4 violations over 6 hours).

@albrow albrow merged commit 6732608 into development Nov 7, 2019
@albrow albrow deleted the fix/relax-bandwidth-banning-constraints branch November 7, 2019 21:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants