mirror of
https://github.com/koush/scrypted.git
synced 2026-02-12 01:54:27 +00:00
server: support large file transfers on engine io
This commit is contained in:
@@ -41,6 +41,9 @@ export class PluginHost {
|
||||
scrypted: ScryptedRuntime;
|
||||
remote: PluginRemote;
|
||||
io: IOServer = new io.Server({
|
||||
// object detection drag drop 4k can be massive.
|
||||
// streaming support somehow?
|
||||
maxHttpBufferSize: 20000000,
|
||||
pingTimeout: 120000,
|
||||
perMessageDeflate: true,
|
||||
cors: (req, callback) => {
|
||||
|
||||
Reference in New Issue
Block a user