From 91a052d11ae1091290b31ee3d2b89070be2375bd Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sat, 8 Mar 2025 12:04:13 +0100 Subject: [PATCH] Try to reduce latency between stat's update and view - #3086 --- glances/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glances/stats.py b/glances/stats.py index 8863dd45..1d2b1d12 100644 --- a/glances/stats.py +++ b/glances/stats.py @@ -256,8 +256,8 @@ class GlancesStats: def __update_plugin(self, p): """Update stats, history and views for the given plugin name p""" self._plugins[p].update() - self._plugins[p].update_stats_history() self._plugins[p].update_views() + self._plugins[p].update_stats_history() def update(self): """Wrapper method to update all stats.