chessh/config/prod.exs

30 lines
597 B
Elixir
Raw Normal View History

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
2023-01-31 21:05:01 -05:00
config :libcluster,
topologies: [
2023-02-01 10:51:20 -05:00
chessh: [
strategy: Elixir.Cluster.Strategy.Gossip,
config: [
port: 45892,
if_addr: "0.0.0.0",
multicast_if: "192.168.1.1",
multicast_addr: "233.252.255.255",
2023-02-01 10:51:20 -05:00
multicast_ttl: 1,
]
2023-01-31 21:05:01 -05:00
]
]
config :libcluster,
debug: true