mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-17 16:50:22 +00:00
fixes #6181 `uploadRemoteFile()` now treats one remote upload attempt as a single queue-owned unit. Instead of queueing “request token” and “open websocket / wait for upload” as two separate jobs, it now: - acquires one queue slot - reuses serverToken if resuming, otherwise requests a new token - immediately proceeds to the websocket/upload phase within that same admitted attempt That removes the stale-token race where Companion starts its 60s socket-wait timer before the client’s websocket phase has actually been admitted by the queue. Retries still reacquire the queue per attempt, and existing abort/cancel behavior is preserved. refer https://github.com/transloadit/uppy/issues/6181#issuecomment-4295036192 for more context about the bug
145 B
145 B
| @uppy/companion-client |
|---|
| patch |
uploadRemoteFile() now queues token request and websocket request as a single job in the request queue.