@wixc3/engine-runtime-node
Advanced tools
Comparing version 44.0.5 to 44.0.6
@@ -50,3 +50,12 @@ "use strict"; | ||
app.use('/favicon.ico', noContentHandler); | ||
const socketServer = new io.Server(httpServer, { cors: {}, ...socketServerOptions, transports: ['websocket'] }); | ||
const socketServer = new io.Server(httpServer, { | ||
cors: {}, | ||
pingTimeout: 30 * 1000 * 60, // 30 minutes. our sockets does not run over network. | ||
pingInterval: 10 * 1000 * 60, // 10 minutes. our sockets does not run over network. | ||
httpCompression: false, | ||
serveClient: false, | ||
maxHttpBufferSize: 1e8, // 100 MB | ||
...socketServerOptions, | ||
transports: ['websocket'], | ||
}); | ||
return { | ||
@@ -53,0 +62,0 @@ close: async () => { |
{ | ||
"name": "@wixc3/engine-runtime-node", | ||
"version": "44.0.5", | ||
"version": "44.0.6", | ||
"main": "dist/index.js", | ||
@@ -15,6 +15,6 @@ "exports": { | ||
"@wixc3/common": "^16.2.0", | ||
"@wixc3/engine-core": "^44.0.5", | ||
"@wixc3/engine-core": "^44.0.6", | ||
"@wixc3/patterns": "^16.2.0", | ||
"create-listening-server": "^2.1.0", | ||
"express": "^4.18.2", | ||
"express": "^4.18.3", | ||
"minimist": "^1.2.8", | ||
@@ -21,0 +21,0 @@ "socket.io": "^4.7.4" |
@@ -51,3 +51,12 @@ import express from 'express'; | ||
const socketServer = new io.Server(httpServer, { cors: {}, ...socketServerOptions, transports: ['websocket'] }); | ||
const socketServer = new io.Server(httpServer, { | ||
cors: {}, | ||
pingTimeout: 30 * 1000 * 60, // 30 minutes. our sockets does not run over network. | ||
pingInterval: 10 * 1000 * 60, // 10 minutes. our sockets does not run over network. | ||
httpCompression: false, | ||
serveClient: false, | ||
maxHttpBufferSize: 1e8, // 100 MB | ||
...socketServerOptions, | ||
transports: ['websocket'], | ||
}); | ||
@@ -54,0 +63,0 @@ return { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
273898
4488
Updated@wixc3/engine-core@^44.0.6
Updatedexpress@^4.18.3