We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9d6144 commit 9f2d79aCopy full SHA for 9f2d79a
src/server.js
@@ -125,7 +125,9 @@ const initServer = async () => {
125
cors: cors,
126
path: '/notepad.io',
127
serveClient: false,
128
- transports: ['websocket']
+ transports: ['websocket'],
129
+ pingInterval: 5000,
130
+ pingTimeout: 3000
131
})
132
133
const notepadio = ioIns.of('/notepads')
0 commit comments