]> cat aescling's git repositories - mastodon.git/commit
Add tight rate-limit for API deletions (#10042)
authorEugen Rochko <eugen@zeonfederated.com>
Thu, 14 Feb 2019 05:27:54 +0000 (06:27 +0100)
committerGitHub <noreply@github.com>
Thu, 14 Feb 2019 05:27:54 +0000 (06:27 +0100)
commit99fa1ce93d02ef4ee8bde9311f4cc56a64fe35f4
treeed479d5c0c8b7e03bae1f3baad843d86049df44f
parenta5992e58832fdc0199f70ed2fa791a619fcad258
Add tight rate-limit for API deletions (#10042)

Deletions take a lot of resources to execute and cause a lot of
federation traffic, so it makes sense to decrease the number
someone can queue up through the API.

30 per 30 minutes
config/initializers/rack_attack.rb