[10983] Config option for disable progress bar show at server startup.

Make happy nervouse ppl by some secs startup speedup.
This commit is contained in:
VladimirMangos 2011-01-08 03:12:15 +03:00
parent b89e531fee
commit ea930108da
5 changed files with 41 additions and 15 deletions

View file

@ -23,6 +23,7 @@
#include "Common.h"
#include "Database/DatabaseEnv.h"
#include "Config/Config.h"
#include "ProgressBar.h"
#include "Log.h"
#include "Master.h"
#include "SystemConfig.h"
@ -174,6 +175,9 @@ extern int main(int argc, char **argv)
DETAIL_LOG("Using ACE: %s", ACE_VERSION);
///- Set progress bars show mode
barGoLink::SetOutputState(sConfig.GetBoolDefault("ShowProgressBars", true));
///- and run the 'Master'
/// \todo Why do we need this 'Master'? Can't all of this be in the Main as for Realmd?
return sMaster.Run();