Fix ThreadPools not setting workerThreadSemaphoreCount at bootup
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user