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]}
|
|
|
|
]
|
2023-02-01 12:02:27 -05:00
|
|
|
|
|
|
|
config :libcluster,
|
|
|
|
topologies: [
|
|
|
|
chessh_dev: [
|
|
|
|
strategy: Elixir.Cluster.Strategy.ErlangHosts,
|
|
|
|
config: [timeout: 30_000]
|
|
|
|
]
|
|
|
|
]
|