更新代码
This commit is contained in:
parent
4ec85bad23
commit
ea1e6fd06d
@ -77,7 +77,7 @@ def check_matlab_script_status():
|
|||||||
|
|
||||||
|
|
||||||
cpu_usage = get_matlab_cpu_usage()
|
cpu_usage = get_matlab_cpu_usage()
|
||||||
if cpu_usage< 5.0:
|
if cpu_usage< 1.0:
|
||||||
for script in SCRIPTS_TO_MONITOR :
|
for script in SCRIPTS_TO_MONITOR :
|
||||||
# is_running = False
|
# is_running = False
|
||||||
MATLAB_SCRIPT_RUNNING.labels(script_name=script).set( 0)
|
MATLAB_SCRIPT_RUNNING.labels(script_name=script).set( 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user