-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Simple queries per IP rate limiting * extracted rate limiter * improved rate limiter hasher * added rate limiting for dht queries * refactored error handling * trying to fix broken pipe bug * reduced logs again * fixed half invalid pkarr keys * update cmd argument names * updated rate limit default value * reduce dht limit to 10 per second * added burst sizes
- Loading branch information
1 parent
6891c52
commit ad96dda
Showing
15 changed files
with
743 additions
and
295 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,5 @@ dashmap = "6.1.0" | |
|
||
dyn-clone = "1.0.16" | ||
thiserror = "1.0.56" | ||
governor = "0.7.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.