Changed number of threads in executerservice to one to prevent false order to save file

This commit is contained in:
Andrin Fassbind 2022-05-13 15:15:37 +02:00
parent 127e152637
commit b4da0b2fef
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ public class TournamentDecorator implements IsObservable{
}
}
});
executorService = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors());
executorService = Executors.newFixedThreadPool(1);
}
public void setFactoryDecorator(FactoryDecorator factoryDecorator) {