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

Duplicate calls to start cause duplicate uploads #659

Open
Acconut opened this issue Dec 11, 2023 · 0 comments
Open

Duplicate calls to start cause duplicate uploads #659

Acconut opened this issue Dec 11, 2023 · 0 comments
Assignees
Labels

Comments

@Acconut
Copy link
Member

Acconut commented Dec 11, 2023

When start() is called another time while the upload is already running, it will cause two or more uploads for the same file to be running at the same time. This can lead to hard to diagnose issues like transloadit/uppy#4815, especially since the start method is used for creating and resuming an upload.

tus-js-client should keep track of its current state and prevent duplicate calls to start. This can be implement based on feedback from #355.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant