Core/Common: Include cleanup

This commit is contained in:
Shauren
2017-05-11 22:29:51 +02:00
parent 8abc56c540
commit 3a418a0bbc
145 changed files with 1194 additions and 989 deletions

View File

@@ -210,7 +210,7 @@ extern int main(int argc, char** argv)
threadPool->push_back(std::thread([ioService]() { ioService->run(); }));
// Set process priority according to configuration settings
SetProcessPriority("server.worldserver");
SetProcessPriority("server.worldserver", sConfigMgr->GetIntDefault(CONFIG_PROCESSOR_AFFINITY, 0), sConfigMgr->GetBoolDefault(CONFIG_HIGH_PRIORITY, false));
// Start the databases
if (!StartDB())