You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by go...@apache.org on 2022/10/14 08:53:13 UTC

[inlong] branch release-1.3.0 updated: [INLONG-6182][SDK] Fix the RequestTimeoutMillis initialization value error (#6183)

This is an automated email from the ASF dual-hosted git repository.

gosonzhang pushed a commit to branch release-1.3.0
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/release-1.3.0 by this push:
     new 0c7fadb72 [INLONG-6182][SDK] Fix the RequestTimeoutMillis initialization value error (#6183)
0c7fadb72 is described below

commit 0c7fadb721a18b3fb36922fbca8a48157f65e1f4
Author: Goson Zhang <46...@qq.com>
AuthorDate: Fri Oct 14 16:41:32 2022 +0800

    [INLONG-6182][SDK] Fix the RequestTimeoutMillis initialization value error (#6183)
---
 .../main/java/org/apache/inlong/sdk/dataproxy/ProxyClientConfig.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/ProxyClientConfig.java b/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/ProxyClientConfig.java
index 30bedcdb7..e61bfef38 100644
--- a/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/ProxyClientConfig.java
+++ b/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/ProxyClientConfig.java
@@ -123,7 +123,7 @@ public class ProxyClientConfig {
         this.proxyHttpUpdateIntervalMinutes = ConfigConstants.PROXY_HTTP_UPDATE_INTERVAL_MINUTES;
         this.proxyUpdateMaxRetry = ConfigConstants.PROXY_UPDATE_MAX_RETRY;
         this.connectTimeoutMillis = ConfigConstants.DEFAULT_CONNECT_TIMEOUT_MILLIS;
-        this.setRequestTimeoutMillis(ConfigConstants.DEFAULT_SEND_BUFFER_SIZE);
+        this.setRequestTimeoutMillis(ConfigConstants.DEFAULT_REQUEST_TIMEOUT_MILLIS);
         this.authSecretId = authSecretId;
         this.authSecretKey = authSecretKey;
     }