increase throttle limit for authenticated requests
This commit is contained in:
parent
e40e6d3fe9
commit
9f2b880f83
|
@ -43,9 +43,9 @@ class Rack::Attack
|
||||||
end
|
end
|
||||||
|
|
||||||
###
|
###
|
||||||
# Throttle: authenticated requests - 100 per minute
|
# Throttle: authenticated requests - 200 per minute
|
||||||
# Scoped by: access token
|
# Scoped by: access token
|
||||||
throttle('req/token/1min', limit: 100, period: 1.minute) do |request|
|
throttle('req/token/1min', limit: 200, period: 1.minute) do |request|
|
||||||
request.identifier
|
request.identifier
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user