From 0aab3c2027d54fc1ba834ab73fd53328952b7a1b Mon Sep 17 00:00:00 2001 From: Simponic Date: Thu, 29 Dec 2022 17:49:42 -0700 Subject: Make tests pass, rename jail threshold --- config/config.exs | 2 +- config/test.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/config.exs b/config/config.exs index c919a33..945f905 100644 --- a/config/config.exs +++ b/config/config.exs @@ -8,7 +8,7 @@ config :chessh, config :chessh, RateLimits, jail_timeout_ms: 5 * 60 * 1000, - jail_threshold: 15, + jail_attempt_threshold: 15, max_concurrent_user_sessions: 5 config :hammer, diff --git a/config/test.exs b/config/test.exs index bdaf9f1..69b6c93 100644 --- a/config/test.exs +++ b/config/test.exs @@ -2,7 +2,7 @@ import Config config :chessh, RateLimits, jail_timeout_ms: 1000, - jail_threshold: 2 + jail_attempt_threshold: 3 config :chessh, Chessh.Repo, database: "chessh-test", -- cgit v1.2.3-70-g09d2