更新代码

This commit is contained in:
yaxuan 2025-03-06 17:56:56 +08:00
parent 4ec85bad23
commit ea1e6fd06d

View File

@ -77,7 +77,7 @@ def check_matlab_script_status():
cpu_usage = get_matlab_cpu_usage()
if cpu_usage< 5.0:
if cpu_usage< 1.0:
for script in SCRIPTS_TO_MONITOR :
# is_running = False
MATLAB_SCRIPT_RUNNING.labels(script_name=script).set( 0)