diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2023-01-13 21:18:34 -0700 |
---|---|---|
committer | Simponic <loganhunt@simponic.xyz> | 2023-01-13 21:23:46 -0700 |
commit | 53be77e2c57bac6b861d7c3d1d2d6355816a823b (patch) | |
tree | bf2db793a3e0f416b411283547e7f58411f80d9e /config | |
parent | 87e42b29f004f67df2512c133de626c2b0804477 (diff) | |
parent | 2b06f5bf47ec5f8f084dae8f015ca3677d753a7d (diff) | |
download | chessh-53be77e2c57bac6b861d7c3d1d2d6355816a823b.tar.gz chessh-53be77e2c57bac6b861d7c3d1d2d6355816a823b.zip |
Merge pull request #4 from Simponic/fix_pubkey
Fix pubkey
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") |