leventov commented on a change in pull request #7088: Improve parallelism of 
zookeeper based segment change processing
URL: https://github.com/apache/incubator-druid/pull/7088#discussion_r266153311
 
 

 ##########
 File path: 
server/src/main/java/org/apache/druid/segment/loading/SegmentLoaderConfig.java
 ##########
 @@ -46,7 +47,7 @@
   private int announceIntervalMillis = 0; // do not background announce
 
   @JsonProperty("numLoadingThreads")
-  private int numLoadingThreads = 10;
+  private int numLoadingThreads = 
JvmUtils.getRuntimeInfo().getAvailableProcessors();
 
 Review comment:
   The documentation is not updated, it still says about 10 threads.
   
   @samarthjain could you please update the documentation with a more elaborate 
discussion of how (and why) anyone would possibly want to change this 
configuration, and in which direction?

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to