Merge pull request #669 from Frederick888/fix-num-cpus

Refresh sysinfo CPU
This commit is contained in:
Clement Tsang authored and GitHub committed 2022-02-01 17:28:13 -08:00
commit b59e34f159
1 file changed
+1
+1
View File
@@ -211,6 +211,7 @@ impl DataCollector {
#[cfg(not(target_os = "linux"))]
{
if self.widgets_to_harvest.use_proc {
self.sys.refresh_cpu();
self.sys.refresh_processes();
}
if self.widgets_to_harvest.use_temp {