diff --git a/src/init.cpp b/src/init.cpp index 87e6f9033..384a82bba 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -976,7 +976,9 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) CScheduler::Function serviceLoop = boost::bind(&CScheduler::serviceQueue, &scheduler); threadGroup.create_thread(boost::bind(&TraceThread, "scheduler", serviceLoop)); - if (GetBoolArg("-showmetrics", true) && !fPrintToConsole && !GetBoolArg("-daemon", false)) { + if ((chainparams.NetworkIDString() != "regtest") && + GetBoolArg("-showmetrics", true) && + !fPrintToConsole && !GetBoolArg("-daemon", false)) { // Start the persistent metrics interface ConnectMetricsScreen(); threadGroup.create_thread(&ThreadShowMetricsScreen);