-
Notifications
You must be signed in to change notification settings - Fork 23
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
Chunk timeout #310
Comments
Hi @siovene , what if I add a timeout to all requests? ngx-uploadx/src/app/tus/tus.component.ts Line 29 in 1c2b3a6
|
Hi @kukhariev, maybe |
* fix: add timeout option closes #310 * docs: update
Hi @siovene, ngx-uploadx/src/uploadx/lib/uploader.ts Lines 158 to 159 in f953065
After a timeout error a full chunk will be sent again. Is that okay? |
Hi @kukhariev, yes, I would say that it's inline with the expectation: by default, a timeout is treated as a "retry" error. Then the flow will continue according to retryConfig (e.g. max attempts). |
Is your feature request related to a problem? Please describe.
I would like to have a way to specify a certain timeout for a chunk, after which it should be retried.
Describe the solution you'd like
A
chunkTimeout
option, in seconds. If a PATCH request doesn't get a response from the server in that time, the chunk should be retried.Describe alternatives you've considered
None.
Additional context
None.
Thanks!
The text was updated successfully, but these errors were encountered: