1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/config/initializers/rack_attack.rb

5 lines
159 B
Ruby

# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
Rack::Attack.throttle 'requests by IP', limit: 10, period: 1, &:ip