summaryrefslogtreecommitdiff
path: root/config/dev.exs
blob: f37da7b191388f5db352bd0984b4375dbd0e959a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Config

config :chessh, Chessh.Repo,
  database: "chessh",
  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]}
  ]