Skip to content

Commit 4e2b3b9

Browse files
authored
Set ExternalRPCService server connection with ssl no timeout (#16617)
1 parent b20558f commit 4e2b3b9

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/service/ExternalRPCService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ public void initThriftServiceThread() throws IllegalAccessException {
7979
config.isRpcThriftCompressionEnable(),
8080
commonConfig.getKeyStorePath(),
8181
commonConfig.getKeyStorePwd(),
82-
config.getConnectionTimeoutInMS(),
8382
ZeroCopyRpcTransportFactory.INSTANCE)
8483
: new ThriftServiceThread(
8584
processor,

iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/service/ThriftServiceThread.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ public ThriftServiceThread(
9999
boolean compress,
100100
String keyStorePath,
101101
String keyStorePwd,
102-
int clientTimeout,
103102
TTransportFactory transportFactory) {
104103
super(
105104
processor,
@@ -115,7 +114,7 @@ public ThriftServiceThread(
115114
keyStorePwd,
116115
null,
117116
null,
118-
clientTimeout,
117+
0,
119118
transportFactory);
120119
}
121120

0 commit comments

Comments
 (0)