perMessageDeflate

This commit is contained in:
Nour Alharithi
2024-01-08 12:10:42 -08:00
parent 6731974870
commit c6db744e56

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';