D23593: Don't accept duplicated sensor names from ksysguardd
Jiří Paleček
noreply at phabricator.kde.org
Sat Aug 31 03:01:53 BST 2019
jpalecek created this revision.
jpalecek added a reviewer: davidedmundson.
jpalecek added a project: Plasma.
jpalecek requested review of this revision.
REVISION SUMMARY
It shouldn't happen, but sometimes ksysguardd sends the same sensor name twice or more times. That would result in excessive cpu load requesting the data from ksysguard multiple times. This is a quick fix for that behaviour, just by ignoring the duplicated sensors.
Part of T11473: #407526: plasma + ksysguardd causing high cpu load <https://phabricator.kde.org/T11473>.
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D23593
AFFECTED FILES
dataengines/systemmonitor/systemmonitor.cpp
To: jpalecek, davidedmundson
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190831/f2fb6645/attachment.html>
More information about the Plasma-devel
mailing list