Fix random fails of the rate limiter tests

This commit is contained in:
Egor Kislitsyn 2019-11-13 18:07:53 +07:00
parent fb090b748a
commit 72cf6a76f4
No known key found for this signature in database
GPG Key ID: 1B49CB15B71E7805

View File

@ -25,7 +25,7 @@ defmodule Pleroma.Plugs.RateLimiterTest do
test "it restricts based on config values" do test "it restricts based on config values" do
limiter_name = :test_opts limiter_name = :test_opts
scale = 60 scale = 80
limit = 5 limit = 5
Pleroma.Config.put([:rate_limit, limiter_name], {scale, limit}) Pleroma.Config.put([:rate_limit, limiter_name], {scale, limit})