[traffic] Throttle UI/router refresh while messages are being processed

Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
mvglasow
2025-05-17 15:27:49 +03:00
parent de03995e77
commit e3f5dd3ca8
2 changed files with 54 additions and 11 deletions

View File

@@ -488,6 +488,16 @@ private:
*/
std::chrono::time_point<std::chrono::steady_clock> m_lastResponseTime;
/**
* @brief When the last update notification to the Drape engine was posted.
*/
std::chrono::time_point<std::chrono::steady_clock> m_lastDrapeUpdate;
/**
* @brief When the last update notification to the traffic observer was posted.
*/
std::chrono::time_point<std::chrono::steady_clock> m_lastObserverUpdate;
/**
* @brief Whether active MWMs have changed since the last request.
*/