aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Tashkinov <ivant.business@gmail.com>2019-07-13 15:13:26 +0300
committerIvan Tashkinov <ivant.business@gmail.com>2019-07-13 15:13:26 +0300
commitb74d11e20ab214d533f746bee81fde589d319f64 (patch)
tree1252e99648b386b0ab6b603325eac89a97f88da5
parent369e9bb42fc907f2e3f92e7e44dc52d6940dc046 (diff)
downloadpleroma-b74d11e20ab214d533f746bee81fde589d319f64.tar.gz
[#1041] Added documentation on existing rate limiters.
-rw-r--r--docs/config.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/config.md b/docs/config.md
index 140789d87..3ec13cff2 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -640,3 +640,10 @@ A keyword list of rate limiters where a key is a limiter name and value is the l
It is also possible to have different limits for unauthenticated and authenticated users: the keyword value must be a list of two tuples where the first one is a config for unauthenticated users and the second one is for authenticated.
See [`Pleroma.Plugs.RateLimiter`](Pleroma.Plugs.RateLimiter.html) documentation for examples.
+
+Supported rate limiters:
+
+* `:search` for the search requests (account & status search etc.)
+* `:app_account_creation` for registering user accounts from the same IP address
+* `:statuses_actions` for create / delete / fav / unfav / reblog / unreblog actions on any statuses
+* `:status_id_action` for fav / unfav or reblog / unreblog actions on the same status by the same user