From f580f41130c9f672645504e279c99e547269c5ad Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Thu, 12 Dec 2024 03:03:22 +0300 Subject: [PATCH] change to 2h --- checker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checker.py b/checker.py index 02d0a0b..a1b9e6d 100644 --- a/checker.py +++ b/checker.py @@ -101,7 +101,7 @@ def check_logs(log_handler): proof_speeds = deque(maxlen=100) 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 except subprocess.CalledProcessError as e: raise RuntimeError(f"Error running docker compose logs: {e}") from e