Changed load thread count to 2.

This commit is contained in:
Harrison Deng 2020-05-16 15:46:09 -05:00
parent 3514434fbb
commit 56d636c862

View File

@ -15,7 +15,7 @@ import ca.recrown.islandsurvivalcraft.world.IslandWorldMap;
public class IslandInformationManager {
private final IslandWorldMap islandMap;
private final ExecutorService executors = Executors.newFixedThreadPool(1, new ThreadFactory() {
private final ExecutorService executors = Executors.newFixedThreadPool(2, new ThreadFactory() {
@Override
public Thread newThread(Runnable r) {
Thread thread = new Thread(r);