permessagedeflate

This commit is contained in:
Nour Alharithi
2024-01-08 12:30:05 -08:00
parent c13f52f086
commit 86fcb9b8b4

View File

@@ -26,7 +26,7 @@ const server = http.createServer(app);
const wss = new WebSocketServer({
server,
path: '/ws',
perMessageDeflate: false,
perMessageDeflate: true,
});
const REDIS_HOST = process.env.REDIS_HOST || 'localhost';