Change the API call limit from 600 to 1200
This commit is contained in:
parent
b2e0d39a04
commit
0a01d76da3
|
@ -62,7 +62,7 @@ class Rack::Attack
|
|||
IpBlock.blocked?(req.remote_ip)
|
||||
end
|
||||
|
||||
throttle('throttle_authenticated_api', limit: 600, period: 5.minutes) do |req|
|
||||
throttle('throttle_authenticated_api', limit: 1_200, period: 5.minutes) do |req|
|
||||
req.authenticated_user_id if req.api_request?
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue