Merge pull request #669 from Frederick888/fix-num-cpus
Refresh sysinfo CPU
This commit is contained in:
commit
b59e34f159
|
@ -211,6 +211,7 @@ impl DataCollector {
|
||||||
#[cfg(not(target_os = "linux"))]
|
#[cfg(not(target_os = "linux"))]
|
||||||
{
|
{
|
||||||
if self.widgets_to_harvest.use_proc {
|
if self.widgets_to_harvest.use_proc {
|
||||||
|
self.sys.refresh_cpu();
|
||||||
self.sys.refresh_processes();
|
self.sys.refresh_processes();
|
||||||
}
|
}
|
||||||
if self.widgets_to_harvest.use_temp {
|
if self.widgets_to_harvest.use_temp {
|
||||||
|
|
Loading…
Reference in New Issue