You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "trungda (via GitHub)" <gi...@apache.org> on 2024/07/17 05:50:21 UTC

[PR] Correct timeout in comment from 5s to 30s [arrow-rs]

trungda opened a new pull request, #6073:
URL: https://github.com/apache/arrow-rs/pull/6073

   # Which issue does this PR close?
   
   The comment for `with_timeout` is 30 seconds, not 5 seconds. We identified this while seeing timeout from downloading a large object from S3. 
   
   Closes #.
   
   # Rationale for this change
   Fix comment only. While I was at I was trying to figure out if there is any mismatches between comments and code behavior. It is not obvious some configs coming from `reqwest` so I added a bit more clarity there. 
    
   <!--
   Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed.
   Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes.
   -->
   
   # What changes are included in this PR?
   
   <!--
   There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR.
   -->
   
   # Are there any user-facing changes?
   
   
   <!--
   If there are user-facing changes then we may require documentation to be updated before approving the PR.
   -->
   
   <!---
   If there are any breaking changes to public APIs, please add the `breaking change` label.
   -->
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Correct timeout in comment from 5s to 30s [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb merged PR #6073:
URL: https://github.com/apache/arrow-rs/pull/6073


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Correct timeout in comment from 5s to 30s [arrow-rs]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on code in PR #6073:
URL: https://github.com/apache/arrow-rs/pull/6073#discussion_r1680907374


##########
object_store/src/client/mod.rs:
##########
@@ -401,7 +401,7 @@ impl ClientOptions {
     /// The timeout is applied from when the request starts connecting until the
     /// response body has finished
     ///
-    /// Default is 5 seconds
+    /// Default is 30 seconds

Review Comment:
   Confirmed. Thanks!



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Correct timeout in comment from 5s to 30s [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on code in PR #6073:
URL: https://github.com/apache/arrow-rs/pull/6073#discussion_r1680935602


##########
object_store/src/client/mod.rs:
##########
@@ -401,7 +401,7 @@ impl ClientOptions {
     /// The timeout is applied from when the request starts connecting until the
     /// response body has finished
     ///
-    /// Default is 5 seconds
+    /// Default is 30 seconds

Review Comment:
   Agreed -- I double checked and the value is set here:
   
   https://github.com/apache/arrow-rs/pull/6073/files#diff-88d0f948b3d41b30e5432864ce5882e2aac9e1df0be2875ea7b455742f5c4529R212



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org