tus-js-client icon indicating copy to clipboard operation
tus-js-client copied to clipboard

Duplicate calls to `start` cause duplicate uploads

Open Acconut opened this issue 6 months ago • 0 comments

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 https://github.com/transloadit/uppy/issues/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.

Acconut avatar Dec 11 '23 08:12 Acconut