aboutsummaryrefslogtreecommitdiff
path: root/config/test.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2020-02-27 18:46:05 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2020-02-27 18:46:05 +0300
commit6f2efb1c450daa75d848dab8e3729ced81ed3904 (patch)
tree9690d7bbb7922b15719fb63b8275d7938ccbf07d /config/test.exs
parentfda6f35a467914d3d6bf6944a10dc928c4ab495c (diff)
downloadpleroma-6f2efb1c450daa75d848dab8e3729ced81ed3904.tar.gz
Runtime configurability of RateLimiter. Refactoring. Disabled default rate limits in tests.
Diffstat (limited to 'config/test.exs')
-rw-r--r--config/test.exs6
1 files changed, 1 insertions, 5 deletions
diff --git a/config/test.exs b/config/test.exs
index 6bea09380..a17886265 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -74,11 +74,7 @@ config :pleroma, Pleroma.ScheduledActivity,
total_user_limit: 3,
enabled: false
-config :pleroma, :rate_limit,
- search: [{1000, 30}, {1000, 30}],
- app_account_creation: {10_000, 5},
- password_reset: {1000, 30},
- ap_routes: nil
+config :pleroma, :rate_limit, %{}
config :pleroma, :http_security, report_uri: "https://endpoint.com"