diff --git a/src/app_network.cpp b/src/app_network.cpp index 95e88bd..e97ba9d 100644 --- a/src/app_network.cpp +++ b/src/app_network.cpp @@ -1473,6 +1473,12 @@ void App::refreshMiningInfo() bool doSlowRefresh = (mining_slow_counter_++ % 5 == 0); bool includeLocalHashrate = state_.mining.generate || current_page_ == ui::NavPage::Mining; if (!includeLocalHashrate && !doSlowRefresh) return; + + // While syncing, don't poll getmininginfo (another cs_main contender) unless the user is + // actually on the Mining tab or mining — mining stats are irrelevant mid-sync, and this keeps + // the sync throttle complete (the mining poll runs off the separate 1s Fast timer, so the + // sync-profile intervals don't otherwise cover it). + if (state_.sync.syncing && !includeLocalHashrate) return; ui::NavPage tracePage = current_page_; auto enqueued = network_refresh_.enqueue(services::NetworkRefreshService::Job::Mining, *w,