reduce ws max size to 1 mb

This commit is contained in:
evanpelle
2026-03-16 20:13:14 -07:00
parent 51db6a2772
commit 194a288ce1
+1 -1
View File
@@ -50,7 +50,7 @@ export async function startWorker() {
const server = http.createServer(app);
const wss = new WebSocketServer({
noServer: true,
maxPayload: 2 * 1024 * 1024,
maxPayload: 1024 * 1024, // 1MB
});
const gm = new GameManager(config, log);