Fix ThreadPools not setting workerThreadSemaphoreCount at bootup

This commit is contained in:
James Seibel
2023-11-05 15:53:57 -06:00
parent d07a285323
commit 3daa0eb6ce
@@ -75,7 +75,7 @@ public class ThreadPools
/** how many total worker threads can be used */
private static int workerThreadSemaphoreCount = 0;
private static int workerThreadSemaphoreCount = Config.Client.Advanced.MultiThreading.numberOfLodBuilderThreads.get();
public static int getWorkerThreadCount() { return workerThreadSemaphoreCount; }
private static Semaphore workerThreadSemaphore = null;