This is an automated email from the ASF dual-hosted git repository.

suyanhanx pushed a commit to branch nodejs-stream
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/nodejs-stream by this push:
     new 7c781e006 polish chunk size
7c781e006 is described below

commit 7c781e006e8126597acd677a78db56e2f60c5e7c
Author: suyanhanx <[email protected]>
AuthorDate: Sat Nov 25 15:54:12 2023 +0800

    polish chunk size
    
    Signed-off-by: suyanhanx <[email protected]>
---
 bindings/nodejs/tests/suites/sync.suite.mjs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bindings/nodejs/tests/suites/sync.suite.mjs 
b/bindings/nodejs/tests/suites/sync.suite.mjs
index 774e0e63c..46566543e 100644
--- a/bindings/nodejs/tests/suites/sync.suite.mjs
+++ b/bindings/nodejs/tests/suites/sync.suite.mjs
@@ -41,7 +41,7 @@ export function run(op) {
     const filename = `random_file_${randomUUID()}`
     const buf = generateFixedBytes(5 * 1024 * 1024)
     const r = new BufferStream(buf, {
-      highWaterMark: 1024 * 1024, // to buffer 1MB data to read
+      highWaterMark: 5 * 1024 * 1024, // to buffer 5MB data to read
     })
     const w = new WriterStream(op, filename)
     r.pipe(w)

Reply via email to