Skip to content

Commit

Permalink
fix rateLimiteDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
harukitosa authored and aldas committed Jun 2, 2021
1 parent 379bdea commit 1c24ab8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion middleware/rate_limiter.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ type (

/*
NewRateLimiterMemoryStore returns an instance of RateLimiterMemoryStore with
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.
Burst and ExpiresIn will be set to default values.
Example (with 20 requests/sec):
Expand Down

0 comments on commit 1c24ab8

Please sign in to comment.