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

feat: support concurrency limit #542

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jan 13, 2024

  1. feat: support concurrency limit

    When enabling multi-file upload, you can control the concurrency by providing the `concurrencyLimit` property.
    
    The `concurrencyLimit` property creates a `ConcurrencyRequester` instance, storing all requests in the instance's queue. The concurrent upload task quantity is restricted by the `concurrencyLimit` when using the `send` method of the instance at the end of the `uploadFiles` process.
    thep0y committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    d5818b1 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2024

  1. fix: a lint error

    thep0y committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    bd547ef View commit details
    Browse the repository at this point in the history
  2. refactor: improve XHR handling and type imports

    - Use type imports in concurrencyRequest.ts for better clarity.
    - Extract XHR load event handling into a separate function, onXHRLoad, in request.ts.
    - Update references to onXHRLoad in both concurrencyRequest.ts and request.ts.
    thep0y committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    89f3d6b View commit details
    Browse the repository at this point in the history