1
0
mirror of https://github.com/newnius/YAO-agent.git synced 2025-06-07 13:51:56 +00:00

update heartbeat interval

This commit is contained in:
Newnius 2020-04-10 17:35:08 +08:00
parent fdefe0c4d2
commit 8b90351f6a

View File

@ -217,7 +217,7 @@ class MyHandler(BaseHTTPRequestHandler):
def report(): def report():
interval = 1 interval = 3
while True: while True:
try: try:
status, msg_gpu = execute(['nvidia-smi', '-q', '-x', '-f', 'status.xml']) status, msg_gpu = execute(['nvidia-smi', '-q', '-x', '-f', 'status.xml'])