This is an automated email from the ASF dual-hosted git repository.
mihaibudiu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git
The following commit(s) were added to refs/heads/main by this push:
new 4fe9e6aef CALCITE-7715 Removed HttpCore Timeout from
BuiltInConnectionProperty
4fe9e6aef is described below
commit 4fe9e6aef88dd98e188758d8c9bdfd8b08b5bc27
Author: exceptionfactory <[email protected]>
AuthorDate: Thu Aug 13 10:36:06 2026 -0500
CALCITE-7715 Removed HttpCore Timeout from BuiltInConnectionProperty
---
.../org/apache/calcite/avatica/BuiltInConnectionProperty.java | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git
a/core/src/main/java/org/apache/calcite/avatica/BuiltInConnectionProperty.java
b/core/src/main/java/org/apache/calcite/avatica/BuiltInConnectionProperty.java
index 00034cbd5..2b1e6b063 100644
---
a/core/src/main/java/org/apache/calcite/avatica/BuiltInConnectionProperty.java
+++
b/core/src/main/java/org/apache/calcite/avatica/BuiltInConnectionProperty.java
@@ -19,8 +19,6 @@
import org.apache.calcite.avatica.ha.ShuffledRoundRobinLBStrategy;
import org.apache.calcite.avatica.remote.AvaticaHttpClientFactoryImpl;
-import org.apache.hc.core5.util.Timeout;
-
import java.util.HashMap;
import java.util.HashSet;
import java.util.Locale;
@@ -128,16 +126,16 @@ public enum BuiltInConnectionProperty implements
ConnectionProperty {
Type.NUMBER, 1000, false),
/**
- * HTTP Connection Timeout in milliseconds.
+ * HTTP Connection Timeout in milliseconds defaults to 3 minutes
*/
HTTP_CONNECTION_TIMEOUT("http_connection_timeout",
- Type.NUMBER, Timeout.ofMinutes(3).toMilliseconds(), false),
+ Type.NUMBER, 180000, false),
/**
- * HTTP Response Timeout (socket timeout) in milliseconds.
+ * HTTP Response Timeout (socket timeout) in milliseconds defaults to 3
minutes
*/
HTTP_RESPONSE_TIMEOUT("http_response_timeout",
- Type.NUMBER, Timeout.ofMinutes(3).toMilliseconds(),
false),
+ Type.NUMBER, 180000, false),
/** Bearer token to use to perform Bearer authentication. */
BEARER_TOKEN("bearer_token", Type.STRING, null, false),