summaryrefslogtreecommitdiff
path: root/config/dev.exs
diff options
context:
space:
mode:
Diffstat (limited to 'config/dev.exs')
-rw-r--r--config/dev.exs7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/dev.exs b/config/dev.exs
index 88ee30b..f37da7b 100644
--- a/config/dev.exs
+++ b/config/dev.exs
@@ -5,3 +5,10 @@ config :chessh, Chessh.Repo,
username: "postgres",
password: "postgres",
hostname: "localhost"
+
+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]}
+ ]