Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2205#discussion_r183262230
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/util/CarbonProperties.java ---
    @@ -1501,4 +1501,16 @@ public static int getSearchWorkerPort() {
           return 
Integer.parseInt(CarbonCommonConstants.CARBON_SEARCH_MODE_WORKER_PORT_DEFAULT);
         }
       }
    +
    +  public static int getMaxWorkloadForWorker(int workerCores) {
    +    int defaultValue = workerCores * 10;
    +    try {
    +      return Integer.parseInt(
    --- End diff --
    
    fixed


---

Reply via email to