maxProcessorsUseRecommendation static method

int maxProcessorsUseRecommendation()

recomendation used threads minimal 1

Implementation

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