Skip to content

Commit

Permalink
Temporary set rate limit to 60k
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Apr 24, 2023
1 parent 963a525 commit c0bb233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ var (
// All duration's unit is seconds
// Shouldn't larger then RateLimitKeyExpirationDuration
var (
GlobalApiRateLimitNum = 60
GlobalApiRateLimitNum = 60000 // TODO: temporary set to 60000
GlobalApiRateLimitDuration int64 = 3 * 60

GlobalWebRateLimitNum = 60
Expand Down

0 comments on commit c0bb233

Please sign in to comment.