diff options
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.exs | 2 | ||||
| -rw-r--r-- | config/test.exs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs index 2e20647..ad54ebf 100644 --- a/config/config.exs +++ b/config/config.exs @@ -15,7 +15,7 @@ config :chessh, RateLimits, jail_timeout_ms: 5 * 60 * 1000, jail_attempt_threshold: 15, max_concurrent_user_sessions: 5, - player_session_message_burst_ms: 1_000, + player_session_message_burst_ms: 500, player_session_message_burst_rate: 8 import_config "#{config_env()}.exs" diff --git a/config/test.exs b/config/test.exs index 3605f1e..3319f9b 100644 --- a/config/test.exs +++ b/config/test.exs @@ -12,4 +12,5 @@ config :chessh, Chessh.Repo, pool: Ecto.Adapters.SQL.Sandbox config :chessh, + port: 34_355, key_dir: Path.join(Path.dirname(__DIR__), "priv/test_keys") |
