Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13115493
D8323.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
764 B
Subscribers
None
D8323.diff
View Options
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp
--- a/src/qt/clientmodel.cpp
+++ b/src/qt/clientmodel.cpp
@@ -232,9 +232,9 @@
clientmodel->cachedBestHeaderHeight = height;
clientmodel->cachedBestHeaderTime = blockTime;
}
- // if we are in-sync or if we notify a header update, update the UI
- // regardless of last update time
- if (fHeader || !initialSync ||
+ // During initial sync, block notifications, and header notifications from
+ // reindexing are both throttled.
+ if (!initialSync || (fHeader && !clientmodel->node().getReindex()) ||
now - nLastUpdateNotification > MODEL_UPDATE_DELAY) {
// pass an async signal to the UI thread
bool invoked = QMetaObject::invokeMethod(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 1, 11:13 (19 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5187542
Default Alt Text
D8323.diff (764 B)
Attached To
D8323: gui: Throttle GUI update pace when -reindex
Event Timeline
Log In to Comment