Browse Source

Dispatcher moved to early in bootstrap.

master
MagicBot 2 years ago
parent
commit
764beb33bd
  1. 6
      src/engine/server/world/WorldServer.java

6
src/engine/server/world/WorldServer.java

@ -281,6 +281,9 @@ public class WorldServer {
Logger.info("Initialize database layer"); Logger.info("Initialize database layer");
initDatabaselayer(); initDatabaselayer();
Logger.info("Starting network Dispatcher");
DispatchMessage.startMessagePump();
Logger.info("Setting cross server session behavior"); Logger.info("Setting cross server session behavior");
SessionManager.setCrossServerBehavior(1); // Sets cross server behavior SessionManager.setCrossServerBehavior(1); // Sets cross server behavior
@ -464,9 +467,6 @@ public class WorldServer {
Logger.info("Initializing Client Connection Manager"); Logger.info("Initializing Client Connection Manager");
initClientConnectionManager(); initClientConnectionManager();
Logger.info("Starting message pumps");
DispatchMessage.startMessagePump();
// Run maintenance // Run maintenance
MaintenanceManager.dailyMaintenance(); MaintenanceManager.dailyMaintenance();

Loading…
Cancel
Save