We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 379bdea commit 1c24ab8Copy full SHA for 1c24ab8
middleware/rate_limiter.go
@@ -169,7 +169,8 @@ type (
169
170
/*
171
NewRateLimiterMemoryStore returns an instance of RateLimiterMemoryStore with
172
-the provided rate (as req/s). Burst and ExpiresIn will be set to default values.
+the provided rate (as req/s). The provided rate less than 1 will be treated as zero.
173
+Burst and ExpiresIn will be set to default values.
174
175
Example (with 20 requests/sec):
176
0 commit comments