Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

Commit

Permalink
[misc] restore the default pingTimeout of 60s from socket.io v0
Browse files Browse the repository at this point in the history
  • Loading branch information
das7pad committed May 5, 2020
1 parent 67bbdbe commit 8b803a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ server = require('http').createServer(app)
io = require('socket.io')(server, {
path: Settings.socketIoPath,
cookie: false,
origins: Settings.socketIoOrigins
origins: Settings.socketIoOrigins,

# restore v0 default
pingTimeout: 60 * 1000,
})

# Bind to sessions
Expand Down

0 comments on commit 8b803a2

Please sign in to comment.