From ab5fc4a077eadcc3dfd28c3af89a762711a6b6b4 Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Tue, 24 Jan 2023 12:35:27 -0700 Subject: Update elixir.yml --- config/test.exs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config/test.exs') 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") -- cgit v1.2.3-70-g09d2