Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Set CreateReadStream chunk size #177

Closed
vidhya567 opened this issue Jan 3, 2020 · 1 comment · Fixed by #179
Closed

Set CreateReadStream chunk size #177

vidhya567 opened this issue Jan 3, 2020 · 1 comment · Fixed by #179
Assignees

Comments

@vidhya567
Copy link

Hi I want the ability to set chunksize for chunks of data coming from createReadStream.

Something like how the fs allows
var rs = fs.createReadStream('/foo/bar', { highWaterMark: 128 * 1024 });

@mike-marcacci
Copy link
Collaborator

This seems perfectly reasonable. Can I ask what kind of workload requires this?

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants