summaryrefslogtreecommitdiff
path: root/config/test.exs
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-12-29 18:37:51 -0700
committerGitHub <noreply@github.com>2022-12-29 18:37:51 -0700
commitc143bb549c53f2737c41cdfce6cc2598c5489bdc (patch)
tree33853e2a9c30ff7c670aa4ff5b73df005d6e6fec /config/test.exs
parentf7c2ccbe26dc808e4a7eae9a378e6c382220961a (diff)
parent479ca815e3a1760c71e8977674434b15f94ae833 (diff)
downloadchessh-c143bb549c53f2737c41cdfce6cc2598c5489bdc.tar.gz
chessh-c143bb549c53f2737c41cdfce6cc2598c5489bdc.zip
Merge pull request #1 from Simponic/erlang_ssh_server
Diffstat (limited to 'config/test.exs')
-rw-r--r--config/test.exs6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/test.exs b/config/test.exs
index c1d70dd..002b49f 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -1,5 +1,9 @@
import Config
+config :chessh, RateLimits,
+ jail_timeout_ms: 5000,
+ jail_attempt_threshold: 3
+
config :chessh, Chessh.Repo,
database: "chessh-test",
username: "postgres",
@@ -8,4 +12,4 @@ config :chessh, Chessh.Repo,
pool: Ecto.Adapters.SQL.Sandbox
config :chessh,
- priv_dir: Path.join(Path.dirname(__DIR__), "priv/keys")
+ key_dir: Path.join(Path.dirname(__DIR__), "priv/test_keys")