Harden websocket server against abuse

This commit is contained in:
2026-05-08 13:13:13 -04:00
parent 88688c8f84
commit c26a833eda
5 changed files with 451 additions and 57 deletions

View File

@@ -1,2 +1,6 @@
APP_PORT=8787
ALLOWED_ORIGINS=
MAX_CLIENTS=200
MAX_CLIENTS_PER_IP=12
MAX_MESSAGES_PER_WINDOW=40
TRUST_PROXY=false