mirror of
https://github.com/newnius/YAO-agent.git
synced 2025-12-15 22:06:43 +00:00
update heartbeat interval
This commit is contained in:
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'])
|
||||||
|
|||||||
Reference in New Issue
Block a user