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

Refresh sysinfo CPU
This commit is contained in:
Clement Tsang 2022-02-01 17:28:13 -08:00 committed by GitHub
commit b59e34f159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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 {