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:
parent
fdefe0c4d2
commit
8b90351f6a
2
agent.py
2
agent.py
@ -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'])
|
||||||
|
Loading…
Reference in New Issue
Block a user