Skip to content

FileUploader: use correct highWaterMark field - #462

Closed
pthieu wants to merge 1 commit into
ttezel:masterfrom
pthieu:master
Closed

FileUploader: use correct highWaterMark field#462
pthieu wants to merge 1 commit into
ttezel:masterfrom
pthieu:master

Conversation

@pthieu

@pthieu pthieu commented Sep 9, 2018

Copy link
Copy Markdown

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

pthieu commented Sep 9, 2018

Copy link
Copy Markdown
Author

ping @ttezel

@luanmuniz

Copy link
Copy Markdown

ping @ttezel

@skorasaurus

skorasaurus commented Nov 18, 2019

Copy link
Copy Markdown

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