This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
donphan
mirror of
https://github.com/Siphonay/mastodon
Watch
1
Star
0
Fork
You've already forked donphan
0
Code
Releases
Activity
499beb4484
donphan
/
config
/
initializers
/
rack-attack.rb
6 lines
101 B
Ruby
Raw
Blame
History
class
Rack
::
Attack
throttle
(
'req/ip'
,
limit
:
300
,
period
:
5
.
minutes
)
do
|
req
|
req
.
ip
end
end
View Git Blame
Copy Permalink