aboutsummaryrefslogtreecommitdiff
path: root/config/test.exs
blob: db11bb4c3d755cf8f8563fea4ddb0d9ff241baba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Config

config :hammer,
  backend: {Hammer.Backend.ETS, [expiry_ms: 60_000 * 60 * 4, cleanup_interval_ms: 60_000 * 10]}

config :chessh, Chessh.Repo,
  database: "chessh-test",
  username: "postgres",
  password: "postgres",
  hostname: "localhost",
  pool: Ecto.Adapters.SQL.Sandbox

config :chessh,
  key_dir: Path.join(Path.dirname(__DIR__), "priv/test_keys")