From 33348ee428073e109506cfef3a3d89a2e767a9ff Mon Sep 17 00:00:00 2001 From: Ciro Spaciari Date: Mon, 31 Mar 2025 13:54:15 -0700 Subject: [PATCH] increase again --- src/js/node/http.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/node/http.ts b/src/js/node/http.ts index a616b33ed6..e9a425457d 100644 --- a/src/js/node/http.ts +++ b/src/js/node/http.ts @@ -1960,7 +1960,7 @@ function allowWritesToContinue() { this.emit("drain"); } function getPlatformHighWaterMark() { - // 256kb is for macOS 1MB is for unix/windows + // 256kb is for macOS 4MB is for unix/windows // this is not quite correct, but it's close enough for now switch (process.platform) { case "darwin": @@ -1968,7 +1968,7 @@ function getPlatformHighWaterMark() { case "win32": // unix default: - return 1024 * 1024; + return 4 * 1024 * 1024; } } const ServerResponsePrototype = {