forked from AkkomaGang/akkoma
Merge branch 'fix-rate-limiter-test' into 'develop'
Fix random fails of the rate limiter tests (hopefully) See merge request pleroma/pleroma!1978
This commit is contained in:
commit
60cc5a7750
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ test "config is required for plug to work" 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})
|
||||||
|
|
Loading…
Reference in a new issue