@jusbid/redis 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -907,6 +907,8 @@ const createSocketServer = ({
907
907
  const socketServer = new Server(httpServer, {
908
908
  cors,
909
909
  path,
910
+ pingTimeout: 25000,
911
+ pingInterval: 20000, // good to set explicitly too
910
912
  });
911
913
 
912
914
  // Token handshake middleware
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jusbid/redis",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "main": "index.js",
5
5
  "private": false,
6
6
  "dependencies": {