This is an automated email from the ASF dual-hosted git repository.
tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push:
new 23cf6d8411 object_store: fix typo in with_connect_timeout_disabled
that actually disabled non-connect timeouts (#6563)
23cf6d8411 is described below
commit 23cf6d841108ac14c6cfc204855a12f6af0d9421
Author: Adrian Garcia Badaracco <[email protected]>
AuthorDate: Tue Oct 15 15:08:57 2024 -0500
object_store: fix typo in with_connect_timeout_disabled that actually
disabled non-connect timeouts (#6563)
---
object_store/src/client/mod.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/object_store/src/client/mod.rs b/object_store/src/client/mod.rs
index 7b1b469a87..b65fea7436 100644
--- a/object_store/src/client/mod.rs
+++ b/object_store/src/client/mod.rs
@@ -501,7 +501,7 @@ impl ClientOptions {
///
/// See [`Self::with_connect_timeout`]
pub fn with_connect_timeout_disabled(mut self) -> Self {
- self.timeout = None;
+ self.connect_timeout = None;
self
}