This website works better with JavaScript.
Explore
Help
Register
Sign In
me
/
glitchier-soc
Watch
1
Star
0
Fork
You've already forked glitchier-soc
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
db6df6ddb3
th-downstream
main
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'db6df6ddb3'
${ noResults }
glitchier-soc
/
config
/
initializers
/
rack-attack.rb
6 lines
101 B
Raw
Normal View
History
Unescape
Escape
Adding letter opener for development and Rack::Attack for future rate limiting implementations
9 years ago
class
Rack
::
Attack
Fixing FanOutOnWriteService, fixing Sidekiq not having enough DB connections in the pool, adding a throttle of 60rpm per IP, adding mini profiler, adding admin status to users
9 years ago
throttle
(
'req/ip'
,
limit
:
300
,
period
:
5
.
minutes
)
do
|
req
|
req
.
ip
end
Adding letter opener for development and Rack::Attack for future rate limiting implementations
9 years ago
end