mirror of
https://iceshrimp.dev/blueb/Chuckya-fe-standalone.git
synced 2026-01-12 14:03:16 -08:00
in the pool, adding a throttle of 60rpm per IP, adding mini profiler, adding admin status to users
5 lines
101 B
Ruby
5 lines
101 B
Ruby
class Rack::Attack
|
|
throttle('req/ip', limit: 300, period: 5.minutes) do |req|
|
|
req.ip
|
|
end
|
|
end
|