Remove multiple message in server/client mode concerning the extended proccesses

This commit is contained in:
nicolargo 2022-09-11 18:09:07 +02:00
parent 8a1d4ab53a
commit fdbbf94b46
1 changed files with 3 additions and 1 deletions

View File

@ -27,6 +27,9 @@ class GlancesStatsServer(GlancesStats):
# all_stats is a dict of dicts filled by the server
self.all_stats = collections.defaultdict(dict)
# In the update method, disable extended process stats
logger.info("Disable extended processes stats in server mode")
def update(self, input_stats=None):
"""Update the stats."""
input_stats = input_stats or {}
@ -35,7 +38,6 @@ class GlancesStatsServer(GlancesStats):
super(GlancesStatsServer, self).update()
# Disable the extended processes stats because it cause an high CPU load
logger.info("Disable extended processes stats in server mode")
self._plugins['processcount'].disable_extended()
# Build all_stats variable (concatenation of all the stats)