mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-09-21 14:35:16 +00:00
Increase max message size to 100mb
This commit is contained in:
@@ -240,7 +240,7 @@ function startSocketApiBridge(port) {
|
||||
server = require('http').createServer();
|
||||
io = require('socket.io')();
|
||||
|
||||
io.attach(server, { pingTimeout: 10000, pingInterval: 5000 });
|
||||
io.attach(server, { pingTimeout: 10000, pingInterval: 5000, maxHttpBufferSize: 1e8 });
|
||||
|
||||
server.listen(port, 'localhost');
|
||||
server.on('listening', function () {
|
||||
|
||||
Reference in New Issue
Block a user