Преглед изворни кода

Temporary set rate limit to 60k

JustSong пре 2 година
родитељ
комит
c0bb2338de
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      common/constants.go

+ 1 - 1
common/constants.go

@@ -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