mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[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:
parent
b89e531fee
commit
ea930108da
5 changed files with 41 additions and 15 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue