mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-28 19:29:14 +00:00
Finished moving thread pool size to config
This commit is contained in:
@@ -105,7 +105,6 @@ public class GeyserConnector implements Connector {
|
||||
|
||||
instance = this;
|
||||
|
||||
this.generalThreadPool = Executors.newScheduledThreadPool(32);
|
||||
this.logger = GeyserLogger.DEFAULT;
|
||||
|
||||
logger.info("******************************************");
|
||||
@@ -123,6 +122,7 @@ public class GeyserConnector implements Connector {
|
||||
shutdown();
|
||||
}
|
||||
|
||||
this.generalThreadPool = Executors.newScheduledThreadPool(config.getGeneralThreadPool());
|
||||
ConsoleCommandReader consoleReader = new ConsoleCommandReader(this);
|
||||
consoleReader.startConsole();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user