chessh/config/config.exs
2022-12-27 23:50:22 -07:00

14 lines
332 B
Elixir

import Config
config :chessh,
ecto_repos: [Chessh.Repo],
key_dir: Path.join(Path.dirname(__DIR__), "priv/keys"),
max_password_attempts: 3,
port: 42_069,
max_sessions: 255
config :hammer,
backend: {Hammer.Backend.ETS, [expiry_ms: 60_000 * 60 * 4, cleanup_interval_ms: 60_000 * 10]}
import_config "#{config_env()}.exs"