change to 2h
This commit is contained in:
parent
5fa7675387
commit
f580f41130
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user