You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ne...@apache.org on 2021/05/13 04:08:43 UTC
[iotdb] 01/03: remend the thrift tconfiguration doc
This is an automated email from the ASF dual-hosted git repository.
neuyilan pushed a commit to branch song_thrift_0.14.1
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 0d8cffd48f59ef058b1abac0046bac7bce0f7359
Author: HouliangQi <ne...@163.com>
AuthorDate: Thu May 13 10:21:32 2021 +0800
remend the thrift tconfiguration doc
---
jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBConnection.java | 1 -
service-rpc/src/main/java/org/apache/iotdb/rpc/TConfigurationConst.java | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBConnection.java b/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBConnection.java
index dee424a..8a2bf7d 100644
--- a/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBConnection.java
+++ b/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBConnection.java
@@ -75,7 +75,6 @@ public class IoTDBConnection implements Connection {
private boolean isClosed = true;
private SQLWarning warningChain = null;
private TTransport transport;
- // https://github.com/apache/thrift/blob/master/doc/specs/thrift-tconfiguration.md
private TConfiguration tConfiguration = TConfigurationConst.defaultTConfiguration;
/**
* Timeout of query can be set by users. Unit: s If not set, default value 0 will be used, which
diff --git a/service-rpc/src/main/java/org/apache/iotdb/rpc/TConfigurationConst.java b/service-rpc/src/main/java/org/apache/iotdb/rpc/TConfigurationConst.java
index 5f15419..d252093 100644
--- a/service-rpc/src/main/java/org/apache/iotdb/rpc/TConfigurationConst.java
+++ b/service-rpc/src/main/java/org/apache/iotdb/rpc/TConfigurationConst.java
@@ -22,7 +22,7 @@ package org.apache.iotdb.rpc;
import org.apache.thrift.TConfiguration;
public class TConfigurationConst {
-
+ // https://github.com/apache/thrift/blob/master/doc/specs/thrift-tconfiguration.md
public static TConfiguration defaultTConfiguration =
new TConfiguration(
RpcUtils.THRIFT_FRAME_MAX_SIZE + 4,