Skip to content

Commit

Permalink
Making thread count properly bound autopopulation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillip Huff committed Mar 18, 2018
1 parent 66f7995 commit 94a41c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magicsim/magicsim/SimQueueData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public SimQueueData()
SelectedPantheonTrinket = "Aman'Thul's Vision";
PantheonHastePercent = 20.0f;
FixedIterationOrError = 1;
Threads = Environment.ProcessorCount;
Threads = Math.Min(8, Environment.ProcessorCount);
}

public ObservableCollection<Sim> Sims
Expand Down

0 comments on commit 94a41c0

Please sign in to comment.