Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 00:23:03 +01:00
Finished moving thread pool size to config
Dieser Commit ist enthalten in:
Ursprung
550d94c4c3
Commit
1d4837f5e0
@ -105,7 +105,6 @@ public class GeyserConnector implements Connector {
|
|||||||
|
|
||||||
instance = this;
|
instance = this;
|
||||||
|
|
||||||
this.generalThreadPool = Executors.newScheduledThreadPool(32);
|
|
||||||
this.logger = GeyserLogger.DEFAULT;
|
this.logger = GeyserLogger.DEFAULT;
|
||||||
|
|
||||||
logger.info("******************************************");
|
logger.info("******************************************");
|
||||||
@ -123,6 +122,7 @@ public class GeyserConnector implements Connector {
|
|||||||
shutdown();
|
shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.generalThreadPool = Executors.newScheduledThreadPool(config.getGeneralThreadPool());
|
||||||
ConsoleCommandReader consoleReader = new ConsoleCommandReader(this);
|
ConsoleCommandReader consoleReader = new ConsoleCommandReader(this);
|
||||||
consoleReader.startConsole();
|
consoleReader.startConsole();
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren