We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49342fe commit 1c06409Copy full SHA for 1c06409
lib/internal/fs/promises.js
@@ -7,7 +7,7 @@ const kIoMaxLength = 2 ** 31 - 1;
7
// Note: This is different from kReadFileBufferLength used for non-promisified
8
// fs.readFile.
9
const kReadFileMaxChunkSize = 2 ** 14;
10
-const kWriteFileMaxChunkSize = 2 ** 14;
+const kWriteFileMaxChunkSize = 512 ** 1024;
11
12
const {
13
ArrayPrototypePush,
0 commit comments