mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
benchmark: Correct the bufferSize to highWaterMark
The bufferSize has been removed. Use highWaterMark instead of.
This commit is contained in:
committed by
Fedor Indutny
parent
a6ddfe20d2
commit
60958d235d
@@ -38,7 +38,7 @@ function main(conf) {
|
||||
function runTest() {
|
||||
assert(fs.statSync(filename).size === filesize);
|
||||
var rs = fs.createReadStream(filename, {
|
||||
bufferSize: size,
|
||||
highWaterMark: size,
|
||||
encoding: encoding
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user