summaryrefslogtreecommitdiff
path: root/config/test.exs
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2023-01-24 12:35:27 -0700
committerLogan Hunt <logan.hunt@usu.edu>2023-01-24 12:43:08 -0700
commitab5fc4a077eadcc3dfd28c3af89a762711a6b6b4 (patch)
tree8f5100e54ce5be4b78e0a866871c67141082e89a /config/test.exs
parentf8fd8fe39f33f35fef50094939657c86cc62427c (diff)
downloadchessh-ab5fc4a077eadcc3dfd28c3af89a762711a6b6b4.tar.gz
chessh-ab5fc4a077eadcc3dfd28c3af89a762711a6b6b4.zip
Update elixir.yml
Diffstat (limited to 'config/test.exs')
-rw-r--r--config/test.exs7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/test.exs b/config/test.exs
index 3319f9b..60b42be 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -11,6 +11,13 @@ config :chessh, Chessh.Repo,
hostname: "localhost",
pool: Ecto.Adapters.SQL.Sandbox
+config :hammer,
+ backend: [
+ in_memory:
+ {Hammer.Backend.ETS, [expiry_ms: 60_000 * 60 * 4, cleanup_interval_ms: 60_000 * 10]},
+ redis: {Hammer.Backend.ETS, [expiry_ms: 60_000 * 60 * 4, cleanup_interval_ms: 60_000 * 10]}
+ ]
+
config :chessh,
port: 34_355,
key_dir: Path.join(Path.dirname(__DIR__), "priv/test_keys")