Skip to content

Commit

Permalink
[HL-Batch] Remove headless parallel simulation
Browse files Browse the repository at this point in the history
Allow to have same batch parallel simulations as in gui
+ Function never check by the 'classical' headless mode (with XML files)
  • Loading branch information
RoiArthurB committed Aug 25, 2021
1 parent f0717ac commit 54c7400
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -47,7 +47,6 @@ public SimulationPopulation(final ExperimentAgent agent, final ISpecies species)
}

public int getMaxNumberOfConcurrentSimulations() {
if (getHost().getSpecies().isHeadless()) return 1;
return GamaExecutorService.getParallelism(getHost().getScope(), getSpecies().getConcurrency(),
Caller.SIMULATION);
}
Expand Down

0 comments on commit 54c7400

Please sign in to comment.