code: public void setExecutorTaskMax(int max)
    {
      if (getThreadMax() < max)
        throw new ConfigException(L.l("<thread-executor-max> ({0}) must be less than <thread-max> ({1})",
                                      max, getThreadMax()));
  
      if (max == 0)
        throw new ConfigException(L.l("<thread-executor-max> must not be zero."));
  
      _executorTaskMax = max;
    }
docs: Sets the maximum number of executor threads.