chore: add socket-redis config for multinode use

This commit is contained in:
canove
2020-11-07 17:29:44 -03:00
parent 1e1e48d0a3
commit 5b4969f992
4 changed files with 17 additions and 1 deletions

View File

@@ -23,6 +23,7 @@
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"http-graceful-shutdown": "^2.3.2",
"jsonwebtoken": "^8.5.1",
"multer": "^1.4.2",
"mysql2": "^2.2.5",
@@ -33,6 +34,7 @@
"sequelize-cli": "^5.5.1",
"sequelize-typescript": "^1.1.0",
"socket.io": "^2.3.0",
"socket.io-redis": "^5.4.0",
"whatsapp-web.js": "1.11.0",
"yup": "^0.29.3"
},
@@ -49,6 +51,7 @@
"@types/multer": "^1.4.4",
"@types/node": "^14.11.8",
"@types/socket.io": "^2.1.11",
"@types/socket.io-redis": "^1.0.26",
"@types/supertest": "^2.0.10",
"@types/validator": "^13.1.0",
"@types/yup": "^0.29.8",