[#1041] Rate-limited status actions (per user and per user+status).

This commit is contained in:
Ivan Tashkinov 2019-07-13 14:49:39 +03:00
commit 369e9bb42f
5 changed files with 149 additions and 27 deletions

View file

@ -519,7 +519,9 @@ config :http_signatures,
config :pleroma, :rate_limit,
search: [{1000, 10}, {1000, 30}],
app_account_creation: {1_800_000, 25}
app_account_creation: {1_800_000, 25},
statuses_actions: {10_000, 15},
status_id_action: {60_000, 3}
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.