This website requires JavaScript.
Explore
Help
Sign In
gearheads
/
mastodon
Archived
Watch
2
Star
0
Fork
You've already forked mastodon
0
Code
Releases
4
Activity
This repository has been archived on
2024-06-09
. You can view files and clone it, but cannot push or open issues/pull-requests.
1d9c886518
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
View Git Blame
Copy Permalink