summaryrefslogtreecommitdiff
path: root/config/test.exs
diff options
context:
space:
mode:
authorSimponic <loganhunt@simponic.xyz>2022-12-27 23:50:22 -0700
committerSimponic <loganhunt@simponic.xyz>2022-12-27 23:50:22 -0700
commit10bc34245e8e1e3ba63fb0720d3bcfb1119db921 (patch)
tree0158f37dcda36f36327e45c4ce7543e77c26c8a0 /config/test.exs
parentf7c2ccbe26dc808e4a7eae9a378e6c382220961a (diff)
downloadchessh-10bc34245e8e1e3ba63fb0720d3bcfb1119db921.tar.gz
chessh-10bc34245e8e1e3ba63fb0720d3bcfb1119db921.zip
Initial erlang stuff
Diffstat (limited to 'config/test.exs')
-rw-r--r--config/test.exs5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/test.exs b/config/test.exs
index c1d70dd..db11bb4 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -1,5 +1,8 @@
import Config
+config :hammer,
+ backend: {Hammer.Backend.ETS, [expiry_ms: 60_000 * 60 * 4, cleanup_interval_ms: 60_000 * 10]}
+
config :chessh, Chessh.Repo,
database: "chessh-test",
username: "postgres",
@@ -8,4 +11,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")