-
Notifications
You must be signed in to change notification settings - Fork 382
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
feat(storage): experimental options to tune stall timeouts #9593
feat(storage): experimental options to tune stall timeouts #9593
Conversation
Google Cloud Build Logs
ℹ️ NOTE: Kokoro logs are linked from "Details" below. |
Codecov Report
@@ Coverage Diff @@
## main #9593 +/- ##
==========================================
- Coverage 94.35% 94.34% -0.01%
==========================================
Files 1491 1491
Lines 137714 137750 +36
==========================================
+ Hits 129935 129967 +32
- Misses 7779 7783 +4
Continue to review full report at Codecov.
|
google/cloud/internal/rest_options.h
Outdated
* then the transfer is aborted. | ||
*/ | ||
struct TransferStallMinimumRateOption { | ||
using Type = std::uint32_t; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#include <cstdint>
[Aside: Do we support L32 platforms? FWIW, uint32_t
-> long
would then be implementation-defined on large values.]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
Yes, we support Windows in 64-bit mode, which is LLP64 (long
is 32-bits), and Windows in 32-bit mode. I forgot about the sign bit, fixed.
Some applications need more progress than just "at least 1 byte per second for K seconds". These new options allow them to require "at least N bytes per second for K seconds".
d0f11af
to
f5f371f
Compare
Google Cloud Build Logs
ℹ️ NOTE: Kokoro logs are linked from "Details" below. |
Some applications need more progress than just "at least 1 byte per
second for K seconds". These new options allow them to require "at
least N bytes per second for K seconds".
This change is