Summary: | solid dataengine fires timer for hddtemp every 10 seconds | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Stefan Brüns <stefan.bruens> |
Component: | widget-systemmonitor | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aseigo, asraniel |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Proposed solution |
Description
Stefan Brüns
2010-03-14 18:06:36 UTC
Created attachment 41623 [details]
Proposed solution
Data queried from hddtemp is cached. After the mainloop finishes (and all clients of the dataengine with the same interval are done), the cache is marked as invalid by the timer.
If the connection to hddtemp fails, the timer is not restarted
If the dataengine is not queried at all, the cache is marked as invalid once, but the timer is not restarted.
could you please submit this patch to the plasma-mailing list or reviewboard.kde.org? patches usualy get lost in bugzilla. thank you I would like to repeat my request, please submit this patch somehwere, or it will get lost. SVN commit 1130594 by aseigo: patch by Stefan Brüns to fix unecessary timers in the solid device engine BUG:230735 M +17 -5 hddtemp.cpp M +5 -4 hddtemp.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1130594 |