change to 2h

This commit is contained in:
vvzvlad 2024-12-12 03:03:22 +03:00
parent 5fa7675387
commit f580f41130

View File

@ -101,7 +101,7 @@ def check_logs(log_handler):
proof_speeds = deque(maxlen=100) proof_speeds = deque(maxlen=100)
try: try:
logs = subprocess.run(['docker', 'compose', 'logs', '--since', '24h'], cwd='/root/node/', capture_output=True, text=True, check=True) logs = subprocess.run(['docker', 'compose', 'logs', '--since', '2h'], cwd='/root/node/', capture_output=True, text=True, check=True)
log_content = logs.stdout log_content = logs.stdout
except subprocess.CalledProcessError as e: except subprocess.CalledProcessError as e:
raise RuntimeError(f"Error running docker compose logs: {e}") from e raise RuntimeError(f"Error running docker compose logs: {e}") from e