LebronAl commented on a change in pull request #2740:
URL: https://github.com/apache/iotdb/pull/2740#discussion_r586298111



##########
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:
       It seems that we should initialize this field with `enableRpcService` in 
`Config`? 




----------------------------------------------------------------
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]


Reply via email to