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

xiangweiwei pushed a commit to branch timeoutQuit
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/timeoutQuit by this push:
     new 0c1e9f1  modify comments about timeout
0c1e9f1 is described below

commit 0c1e9f1ede2a183dd9bf66e93e1ac7302c2916c9
Author: Alima777 <[email protected]>
AuthorDate: Sat Oct 2 17:31:10 2021 +0800

    modify comments about timeout
---
 jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBStatement.java | 2 +-
 session/src/main/java/org/apache/iotdb/session/Session.java  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBStatement.java 
b/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBStatement.java
index 36536c8..6009acd 100644
--- a/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBStatement.java
+++ b/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBStatement.java
@@ -59,7 +59,7 @@ public class IoTDBStatement implements Statement {
 
   /**
    * Timeout of query can be set by users. Unit: s If not set, default value 0 
will be used, which
-   * will use server configuration.
+   * will disable the function of query timeout.
    */
   private int queryTimeout;
 
diff --git a/session/src/main/java/org/apache/iotdb/session/Session.java 
b/session/src/main/java/org/apache/iotdb/session/Session.java
index cdc67da..748e687 100644
--- a/session/src/main/java/org/apache/iotdb/session/Session.java
+++ b/session/src/main/java/org/apache/iotdb/session/Session.java
@@ -81,8 +81,8 @@ public class Session {
   protected int fetchSize;
   private static final byte TYPE_NULL = -2;
   /**
-   * Timeout of query can be set by users. If not set, default value 0 will be 
used, which will use
-   * server configuration.
+   * Timeout of query can be set by users. If not set, default value 0 will be 
used, which will
+   * disable the function of query timeout.
    */
   private long queryTimeoutInMs = 0;
 

Reply via email to