googleapis / googleapis/google-cloud-rust
Support progress-based timeouts for uploads
Open
api: storage
priority: p3
type: feature request
- Dominant language
- Rust
- Stars
- 955
- Forks
- 144
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 279
Description
It is hard to define an end-to-end timeout for uploads as (1) the size varies from 0 bytes to 5TiB, (2) part of the delay is caused by the application providing data fast enough.
We need to define some kind of "progress based" (or rather "lack of progress based") timeouts. The request should timeout if we were not able to send at least X bytes per second. We should use a different timeout value for "the operation should start uploading within X milliseconds".
Contributor guide
Assessment
This issue has not been assessed yet.