server: support large file transfers on engine io

This commit is contained in:
Koushik Dutta
2023-03-14 14:50:47 -07:00
parent ed341a12b1
commit 369dcff2bd

View File

@@ -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) => {