projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb090b7
)
Fix random fails of the rate limiter tests
author
Egor Kislitsyn
<egor@kislitsyn.com>
Wed, 13 Nov 2019 11:07:53 +0000
(18:07 +0700)
committer
Egor Kislitsyn
<egor@kislitsyn.com>
Wed, 13 Nov 2019 11:07:53 +0000
(18:07 +0700)
test/plugs/rate_limiter_test.exs
patch
|
blob
|
history
diff --git
a/test/plugs/rate_limiter_test.exs
b/test/plugs/rate_limiter_test.exs
index bacd621e18db0924d52416fca01878b501b2a120..49f63c424aa08079479646bdff8ae5b0a7802f2c 100644
(file)
--- a/
test/plugs/rate_limiter_test.exs
+++ b/
test/plugs/rate_limiter_test.exs
@@
-25,7
+25,7
@@
defmodule Pleroma.Plugs.RateLimiterTest do
test "it restricts based on config values" do
limiter_name = :test_opts
- scale =
6
0
+ scale =
8
0
limit = 5
Pleroma.Config.put([:rate_limit, limiter_name], {scale, limit})