File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,16 @@ permissions: read-all
1111
1212env :
1313 CARGO_TERM_COLOR : always
14+ # Increased from the default value of 3 in order to address #295. As of that issue's
15+ # writing, we were experiencing a few failures per 149 jobs due to network timeouts.
16+ # This implies a failure rate of (very roughly) 1 in 50. Assuming statistically
17+ # independent network failures (probably a bad assumption, but we can't really do
18+ # better without a lot more investigating), every subsequent 3 retries should reduce
19+ # the incidence of failures 50-fold. Setting this to 9 should result in a failure
20+ # rate of 1 in 125,000. Assuming 149 jobs per PR, we should expect at least one
21+ # failure per set of 149 jobs to occur with 1 - (1 - (1/125000))^149 = 0.001%
22+ # probability, which is plenty low enough to not meaningfully impact development.
23+ CARGO_NET_RETRY : 9
1424 RUSTFLAGS : -Dwarnings
1525 RUSTDOCFLAGS : -Dwarnings
1626 # `ZC_NIGHTLY_XXX` are flags that we add to `XXX` only on the nightly
You can’t perform that action at this time.
0 commit comments