neuyilan commented on a change in pull request #2740:
URL: https://github.com/apache/iotdb/pull/2740#discussion_r586341377
##########
File path:
server/src/main/java/org/apache/iotdb/db/service/thrift/ThriftService.java
##########
@@ -45,6 +45,11 @@
private CountDownLatch stopLatch;
+ // whether enable the service. By default it is true.
+ // If we just want to create an IoTDB instance without RPC service, set this
false before call
+ // IoTDB.active()
+ private boolean enable = true;
Review comment:
Thanks, actually, this is not used, I originally thought this was used
by the single module, after reviewing the codes, it is useless, I will remove
this attribute.
Whether enable the single module's RPC port is controlled by the
`enableRpcService` in IoTDBConfig.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]