This website requires JavaScript.
Explore
Help
Register
Sign In
zelo72
/
mastodon
mirror of
https://github.com/mastodon/mastodon
Watch
2
Star
2
Fork
You've already forked mastodon
1
Code
Issues
9
Releases
Wiki
Activity
ee770c3fd3
mastodon
/
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
Reference in New Issue
View Git Blame
Copy Permalink