Skip to content
New issue

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

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

Already on GitHub? Sign in 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?

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

Successfully merging a pull request may close this issue.

2 participants