You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2024/05/11 03:59:06 UTC

(iotdb) branch tsbs/iot updated: fix timeout doesn't take effect while using builder to build session

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

jackietien pushed a commit to branch tsbs/iot
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/tsbs/iot by this push:
     new a441ed240c1 fix timeout doesn't take effect while using builder to build session
a441ed240c1 is described below

commit a441ed240c1583e1b9a5567a7fcc2f107fad28a9
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Sat May 11 11:58:58 2024 +0800

    fix timeout doesn't take effect while using builder to build session
---
 iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java b/iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java
index fb97c7427e9..a7ae8f85e0d 100644
--- a/iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java
+++ b/iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java
@@ -435,6 +435,7 @@ public class Session implements ISession {
     this.enableAutoFetch = builder.enableAutoFetch;
     this.maxRetryCount = builder.maxRetryCount;
     this.retryIntervalInMs = builder.retryIntervalInMs;
+    this.queryTimeoutInMs = builder.timeOut;
   }
 
   @Override