maxThreadsProcessorsUseRecommendation static method

int maxThreadsProcessorsUseRecommendation()

recomendation used threads minimal 1

Implementation

static int maxThreadsProcessorsUseRecommendation() {
  return math.max((Platform.numberOfProcessors - 1) / 2.5, 1).toInt();
}