feat(storage): experimental options to tune stall timeouts#9593
feat(storage): experimental options to tune stall timeouts#9593coryan merged 2 commits intogoogleapis:mainfrom
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.
|
| * then the transfer is aborted. | ||
| */ | ||
| struct TransferStallMinimumRateOption { | ||
| using Type = std::uint32_t; |
There was a problem hiding this comment.
#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.
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