diff --git a/app/rate_limiter.go b/app/rate_limiter.go index b0b34f7..2612e97 100644 --- a/app/rate_limiter.go +++ b/app/rate_limiter.go @@ -29,8 +29,8 @@ func rateLimiter() { } func perUserRequestLimiter(uid int, ip string) { if uid == 0 { - limit.Request("ip:"+ip, 60) + limit.Request("ip:"+ip, 200) } else { - limit.Request("user:"+strconv.Itoa(uid), 2000) + limit.Request("user:"+strconv.Itoa(uid), 3000) } }