Skip to content

Commit

Permalink
Fix issue #24
Browse files Browse the repository at this point in the history
  • Loading branch information
damercie committed May 27, 2019
1 parent 36944b3 commit 7570c27
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ public MapperBase getRawResults(Run<?, ?> run) throws NullPointerException, Inte

// Load the files below the condensed one in parallel
int cores = Runtime.getRuntime().availableProcessors() - 1;
if (cores < 1) cores = 1;
Run firstRun = project.getFirstBuild();
int numberOfRuns = run.getNumber() - firstRun.getNumber();
int runsPerSegment = 4;
Expand Down Expand Up @@ -337,6 +338,7 @@ public MapperBase getRawResults(Run<?, ?> run) throws NullPointerException, Inte

// Load the files below the condensed one in parallel
int cores = Runtime.getRuntime().availableProcessors() - 1;
if (cores < 1) cores = 1;
Run firstRun = project.getFirstBuild();
int numberOfRuns = run.getNumber() - firstRun.getNumber();
int runsPerSegment = 4;
Expand Down

0 comments on commit 7570c27

Please sign in to comment.