Skip to content

Commit

Permalink
Merge pull request #669 from Frederick888/fix-num-cpus
Browse files Browse the repository at this point in the history
Refresh sysinfo CPU
  • Loading branch information
ClementTsang authored Feb 2, 2022
2 parents d7dc710 + f54cc1a commit b59e34f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/data_harvester.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b59e34f

Please sign in to comment.