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

chore: use default chunkSize value (Infinity) for tus uploads #1031

Merged
merged 4 commits into from
Oct 2, 2024

Conversation

muellerdemos
Copy link
Contributor

@muellerdemos muellerdemos commented Oct 2, 2024

Description:

This PR removes the file upload max chunkSize from the DpUpload component and uses now the default value of the prop which resolves to Infinity. This change is for the demosplan vue3 compatible version.
The same change for the vue2 compatible version can be found here: #1032

@muellerdemos muellerdemos marked this pull request as ready for review October 2, 2024 12:56
Copy link
Contributor

@sakutademos sakutademos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code review lgtm, thx

Copy link
Contributor

@hwiem hwiem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!
same side note as in the other PR :)

 - Important: Only change the default value if you are very sure about the consequences. It is recommended to change the value via setting the chunkSize prop instead of adjusting the default here, which basically allows the upload chunks to be as big as possible.
@muellerdemos
Copy link
Contributor Author

@hwiem like in the other PR: Added a comment (and an explanatory commit message) here d52d173

@muellerdemos muellerdemos merged commit 6f4a347 into main Oct 2, 2024
1 check passed
@muellerdemos muellerdemos deleted the chore_remove_max_tus_chunkSize_on_upload branch October 2, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants