Open thep0y opened 10 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
upload | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jan 14, 2024 4:14am |
Attention: Patch coverage is 36.36364%
with 49 lines
in your changes missing coverage. Please review.
Project coverage is 75.07%. Comparing base (
6027d4c
) to head (89f3d6b
). Report is 2 commits behind head on master.
Files | Patch % | Lines |
---|---|---|
src/concurrencyRequest.ts | 0.00% | 44 Missing :warning: |
src/AjaxUploader.tsx | 66.66% | 3 Missing :warning: |
src/request.ts | 91.66% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
覆盖率得想办法补一下。
覆盖率得想办法补一下。
试过了,并发请求的测试实再不知道怎么写
@zombieJ 这个的用例来帮忙补一下?
This could be a useful feature to control browser resource usage with batch file uploads. Any chance this would be merged?
When enabling multi-file upload, you can control the concurrency by providing the
concurrencyLimit
property.The
concurrencyLimit
property creates aConcurrencyRequester
instance, storing all requests in the instance's queue. The concurrent upload task quantity is restricted by theconcurrencyLimit
when using thesend
method of the instance at the end of theuploadFiles
process.