public int getDefaultMaxDegreeOfParallelism() {
    return configuration.getDefaultMaxParallelismForUpgrades();
  }
@return default value of number of tasks to run in parallel during upgrades
ambari-server/src/main/java/org/apache/ambari/server/stack/upgrade/orchestrate/UpgradeContext.java