2010YOUY01 commented on code in PR #23314:
URL: https://github.com/apache/datafusion/pull/23314#discussion_r3522662500


##########
.github/actions/setup-rust-runtime/action.yaml:
##########
@@ -31,3 +31,10 @@ runs:
       run: |
         echo "RUST_BACKTRACE=1" >> $GITHUB_ENV
         echo "RUSTFLAGS=-C debuginfo=line-tables-only -C incremental=false" >> 
$GITHUB_ENV
+        # Work around intermittent "[16] Error in the HTTP2 framing layer"
+        # failures from curl when cargo fetches crates from crates.io.
+        # Disabling HTTP/2 multiplexing forces cargo to serialize requests,
+        # and raising retries makes transient network hiccups self-heal.

Review Comment:
   ```suggestion
           # and raising retries makes transient network hiccups self-heal.
           #
           # Reference:
           # 
https://doc.rust-lang.org/cargo/reference/config.html?#httpmultiplexing
           # https://doc.rust-lang.org/cargo/reference/config.html?#netretry
   ```
   Let's add some reference links to the options.
   
   However, I can't find the doc for `CARGO_HTTP_RETRY`, was that valid?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to