2022-12-19 03:37:10 -05:00
|
|
|
import Config
|
2022-12-19 18:27:34 -05:00
|
|
|
|
|
|
|
config :chessh, Chessh.Repo,
|
|
|
|
database: "chessh",
|
|
|
|
username: "postgres",
|
|
|
|
password: "postgres",
|
|
|
|
hostname: "localhost"
|
2023-01-24 14:35:27 -05:00
|
|
|
|
|
|
|
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]}
|
|
|
|
]
|