Skip to content

Commit

Permalink
Merge ca740b0 into 07edde4
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjbarton committed Jan 20, 2021
2 parents 07edde4 + ca740b0 commit c4899f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ function createSocketIoServer (webServer, executor, config) {
transports: config.transports,
forceJSONP: config.forceJSONP,
// Default is 5000 in socket.io v2.x and v3.x.
pingTimeout: config.pingTimeout || 5000
pingTimeout: config.pingTimeout || 5000,
// Default in v2 is 1e8 and coverage results can fail at 1e6
maxHttpBufferSize: 1e8
})

// hack to overcome circular dependency
Expand Down

0 comments on commit c4899f0

Please sign in to comment.