From 4734bdb9add17d99b9dc78bb1afc55a3a18a9dfa Mon Sep 17 00:00:00 2001 From: Lewis England Date: Fri, 24 May 2024 17:07:21 +0100 Subject: [PATCH] fix(preferences): add extra fields to the GlobalPrefsOverrride model --- src/boinc_client/models/global_preference_override.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/boinc_client/models/global_preference_override.py b/src/boinc_client/models/global_preference_override.py index 2f9773b..d20c321 100644 --- a/src/boinc_client/models/global_preference_override.py +++ b/src/boinc_client/models/global_preference_override.py @@ -21,6 +21,9 @@ class GlobalPreferenceOverride(Schema): max_ncpus_pct = fields.Float() net_end_hour = fields.Float() net_start_hour = fields.Float() + niu_cpu_usage_limit = fields.Float(allow_none=True) + niu_max_ncpus_pct = fields.Float(allow_none=True) + niu_suspend_cpu_usage = fields.Float(allow_none=True) ram_max_used_busy_pct = fields.Float() ram_max_used_idle_pct = fields.Float() run_gpu_if_user_active = fields.Int()