summaryrefslogtreecommitdiff
path: root/config/dev.exs
blob: 088142085af5338df88a3595b850b58535d3a84c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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]}
  ]

config :libcluster,
  topologies: [
    chessh_dev: [
      strategy: Elixir.Cluster.Strategy.ErlangHosts,
      config: [timeout: 30_000]
    ]
  ]