Skip to content

Commit

Permalink
client: add missing clause in idle check logic
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpanderson committed Sep 9, 2024
1 parent b11cd70 commit fda374c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/prefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ struct GLOBAL_PREFS {
if (niu_cpu_usage_limit && niu_cpu_usage_limit != cpu_usage_limit) return true;
if (niu_max_ncpus_pct && niu_max_ncpus_pct != max_ncpus_pct) return true;
if (niu_suspend_cpu_usage && niu_suspend_cpu_usage != suspend_cpu_usage) return true;
if (ram_max_used_busy_frac != ram_max_used_idle_frac) return true;
return false;
}
};
Expand Down

0 comments on commit fda374c

Please sign in to comment.