Skip to content

Commit

Permalink
Bugfix/rate limit (#38)
Browse files Browse the repository at this point in the history
* Added request rate limit time window

* Disable rate limiter by default
  • Loading branch information
ziflex authored Mar 29, 2023
1 parent 4a00648 commit 47d185c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var (

requestLimit = flag.Uint64(
"request-limit",
20,
0,
"amount of requests per second for each IP. 0 means no limit.",
)

Expand Down

0 comments on commit 47d185c

Please sign in to comment.