summaryrefslogtreecommitdiff
path: root/config/prod.exs
blob: 15d52a18765f763e6dd4cf58b857580eeffdfe34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import Config

config :logger,
  level: :warning,
  truncate: 4096

config :chessh, RateLimits,
  jail_timeout_ms: 5 * 60 * 1000,
  jail_attempt_threshold: 15,
  max_concurrent_user_sessions: 5,
  player_session_message_burst_ms: 750,
  player_session_message_burst_rate: 8

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