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

fix: refactor Tus parallel logic #795

Merged
merged 11 commits into from
Dec 8, 2024
Merged

fix: refactor Tus parallel logic #795

merged 11 commits into from
Dec 8, 2024

Conversation

yoavniran
Copy link
Collaborator

change tus-sender to handle parallel differently by splitting the file by the parallel config param value into parts that are sent in parallel

fix for: #777

Copy link
Contributor

github-actions bot commented Dec 8, 2024

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 100% (🎯 99%) 2296 / 2296
🟢 Statements 100% (🎯 99%) 2376 / 2376
🟢 Functions 100% (🎯 100%) 669 / 669
🟢 Branches 98.8% (🎯 98%) 1157 / 1171
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/core/chunked-sender/src/chunkedSender/getChunksToSend.js 100% 100% 100% 100%
packages/core/chunked-sender/src/chunkedSender/processChunks.js 100% 100% 100% 100%
packages/core/chunked-sender/src/chunkedSender/sendChunk.js 100% 92.85% 100% 100%
packages/core/chunked-sender/src/chunkedSender/sendChunks.js 100% 100% 100% 100%
packages/core/tus-sender/src/resumableStore.js 100% 100% 100% 100%
packages/core/tus-sender/src/tusSender/createTusSender.js 100% 100% 100% 100%
packages/core/tus-sender/src/tusSender/handleEvents.js 100% 95.83% 100% 100%
packages/core/tus-sender/src/tusSender/handleTusUpload.js 100% 100% 100% 100%
packages/core/tus-sender/src/tusSender/tusSend.js 100% 95% 100% 100%
packages/core/tus-sender/src/tusSender/utils.js 100% 100% 100% 100%
packages/core/tus-sender/src/tusSender/initTusUpload/createStateItemData.js 100% 100% 100% 100%
packages/core/tus-sender/src/tusSender/initTusUpload/createUpload.js 100% 100% 100% 100%
packages/core/tus-sender/src/tusSender/initTusUpload/initParallelTusUpload.js 100% 93.75% 100% 100%
packages/core/tus-sender/src/tusSender/initTusUpload/initTusUpload.js 100% 100% 100% 100%
packages/core/tus-sender/src/tusSender/initTusUpload/resumeUpload.js 100% 100% 100% 100%
Generated in workflow #246 for commit 9b70d3b by the Vitest Coverage Report Action

Copy link
Contributor

github-actions bot commented Dec 8, 2024

📦 Bundle Size Report

namesizemaxsuccess
core10.55KB11.72KB🟢
ui-core13.52KB14.65KB🟢
ui-core-chunked15.93KB17.09KB🟢
all23.53KB24.41KB🟢

@yoavniran yoavniran merged commit 3eb997e into master Dec 8, 2024
11 checks passed
@yoavniran yoavniran deleted the tus-parallel-store-urls branch December 8, 2024 13:29
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.

1 participant