From 7dfc2e8736239471795b3cbd50600d75dd74e6c2 Mon Sep 17 00:00:00 2001 From: lyswhut Date: Fri, 29 Oct 2021 20:09:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=97=E8=A1=A8=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E8=BF=87=E5=A4=A7=E5=AF=BC=E8=87=B4=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/modules/sync/server/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/modules/sync/server/server.js b/src/main/modules/sync/server/server.js index 645e0557..5f8a484d 100644 --- a/src/main/modules/sync/server/server.js +++ b/src/main/modules/sync/server/server.js @@ -72,7 +72,7 @@ const handleStartServer = (port = 9527) => new Promise((resolve, reject) => { serveClient: false, connectTimeout: 10000, pingTimeout: 30000, - maxHttpBufferSize: 3e6, + maxHttpBufferSize: 1e9, // 1G allowRequest: authConnection, transports: ['websocket'], })