Skip to content

Commit ce45c8b

Browse files
committed
Update rack_attack.rb
1 parent 9fb2d45 commit ce45c8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

config/initializers/rack_attack.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
class Rack::Attack
2-
throttle('req/ip', limit: 100, period: 1.minute) do |req|
2+
throttle('req/ip', limit: 20, period: 1.minute) do |req|
33
req.ip if req.path == '/publications'
44
end
55
end

0 commit comments

Comments
 (0)