]> cat aescling's git repositories - mastodon.git/commit
Improve rate limiting (#10860)
authorThibG <thib@sitedethib.com>
Mon, 27 May 2019 19:57:49 +0000 (21:57 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 27 May 2019 19:57:49 +0000 (21:57 +0200)
commit0e9b8be18ab0c3d2b0fe24eaee1cfe0e711a52cd
tree0ea9062994e3766387bcb88d8a8b5125f0892ecb
parent3593b854233da1dbb49e95c929019c60a53eca79
Improve rate limiting (#10860)

* Rate limit based on remote address IP, not on potential reverse proxy

* Limit rate of unauthenticated API requests further

* Rate-limit paging requests to one every 3 seconds
config/initializers/rack_attack.rb