Skip to content

Conversation

@pthieu
Copy link

@pthieu pthieu commented Sep 9, 2018

According to https://nodejs.org/docs/latest-v8.x/api/fs.html#fs_fs_createreadstream_path_options, the field name should be highWaterMark, uppercase M.

The chunks were actually defaulting to 64*1024, which causes longer upload times due to having a lot more requests, which means a higher total RTT.

@pthieu
Copy link
Author

pthieu commented Sep 9, 2018

ping @ttezel

@luanmuniz
Copy link

ping @ttezel

@skorasaurus
Copy link

skorasaurus commented Nov 18, 2019

duplicate of #456 although this PR has a clearer commit message

@pthieu pthieu closed this Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants