fix
This commit is contained in:
parent
9ce9f8eb09
commit
97c6c549c1
|
@ -488,7 +488,7 @@ class CloreClient:
|
||||||
"set_gpu_info":self.gpu_oc_specs,
|
"set_gpu_info":self.gpu_oc_specs,
|
||||||
"xorg_valid": True
|
"xorg_valid": True
|
||||||
})
|
})
|
||||||
if oc_conf[0] and len(oc_conf[2].keys())>0 and oc_apply_allowed:
|
if oc_conf[0] and type(oc_conf[2])==dict and oc_apply_allowed:
|
||||||
if utils.normalize_rule(self.last_applied_oc)!=utils.normalize_rule(oc_conf[2]) or (self.last_oc_apply_time < utils.unix_timestamp()-300):
|
if utils.normalize_rule(self.last_applied_oc)!=utils.normalize_rule(oc_conf[2]) or (self.last_oc_apply_time < utils.unix_timestamp()-300):
|
||||||
self.last_oc_apply_time = utils.unix_timestamp()
|
self.last_oc_apply_time = utils.unix_timestamp()
|
||||||
log.debug(f"Applying OC | {json.dumps(oc_conf[2], separators=(',',':'))}")
|
log.debug(f"Applying OC | {json.dumps(oc_conf[2], separators=(',',':'))}")
|
||||||
|
|
Loading…
Reference in New Issue