Commit 4a661d3
committed
Disable per-RPC timeout by default to prevent large upload retry loops
The GrpcStore rpc_timeout_s defaulted to 120 seconds, which is too
short for multi-GB uploads. This caused DeadlineExceeded errors that
triggered retries, restarting the upload and compounding the problem.
Dead connections are already detected by HTTP/2 keepalive (30s ping,
20s timeout) and TCP keepalive (30s) on each endpoint, so the per-RPC
total timeout is unnecessary for that purpose.
Setting rpc_timeout_s=0 now correctly disables the timeout instead of
silently falling through to the 120s default.
Fixes #21851 parent 3ff25a7 commit 4a661d3
File tree
2 files changed
+10
-8
lines changed- nativelink-config/src
- nativelink-store/src
2 files changed
+10
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1126 | 1126 | | |
1127 | 1127 | | |
1128 | 1128 | | |
1129 | | - | |
1130 | | - | |
| 1129 | + | |
1131 | 1130 | | |
1132 | | - | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
1133 | 1139 | | |
1134 | 1140 | | |
1135 | 1141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
| 93 | + | |
98 | 94 | | |
99 | 95 | | |
100 | 96 | | |
| |||
0 commit comments