Show important console messages on metrics screen

This commit is contained in:
Jack Grigg
2016-09-04 05:51:54 +12:00
parent a6df7ab567
commit 4ace963c80
3 changed files with 87 additions and 0 deletions

View File

@@ -978,6 +978,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
if (GetBoolArg("-showmetrics", true) && !fPrintToConsole && !GetBoolArg("-daemon", false)) {
// Start the persistent metrics interface
ConnectMetricsScreen();
threadGroup.create_thread(&ThreadShowMetricsScreen);
}