summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSimponic <loganhunt@simponic.xyz>2023-01-04 00:03:38 -0700
committerSimponic <loganhunt@simponic.xyz>2023-01-04 00:03:38 -0700
commit93ae544684b29db30c6c65a5ba5e7cb51972123c (patch)
tree70ea4e1c8fe43a60434d38ec44cb58a9499f3bbc /config
parent720a110c957a9ac1399ca3d2324b5b2cf8bbf3c6 (diff)
downloadchessh-93ae544684b29db30c6c65a5ba5e7cb51972123c.tar.gz
chessh-93ae544684b29db30c6c65a5ba5e7cb51972123c.zip
Create a Screen module behaviour, some ascii character arts, handle_input does stuff now
Diffstat (limited to 'config')
-rw-r--r--config/config.exs7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/config.exs b/config/config.exs
index a12949b..2e20647 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -8,13 +8,14 @@ config :chessh,
ecto_repos: [Chessh.Repo],
key_dir: Path.join(Path.dirname(__DIR__), "priv/keys"),
port: 42_069,
- max_sessions: 255
+ max_sessions: 255,
+ ascii_chars_json_file: Path.join(Path.dirname(__DIR__), "priv/ascii_chars.json")
config :chessh, RateLimits,
jail_timeout_ms: 5 * 60 * 1000,
jail_attempt_threshold: 15,
max_concurrent_user_sessions: 5,
- player_session_message_burst_ms: 3_000,
- player_session_message_burst_rate: 15
+ player_session_message_burst_ms: 1_000,
+ player_session_message_burst_rate: 8
import_config "#{config_env()}.exs"