mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
increase again
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user