From 4e50ee554bd7a9ebc28757dacfb74ca3385b02e4 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Sat, 18 Jan 2025 15:03:02 +0300 Subject: [PATCH] Comment out dynamic log data retrieval in checker.py, maintaining a fixed health status callback message "test ok". This change simplifies the health check process while preserving error handling functionality. --- checker.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/checker.py b/checker.py index 56173a2..01b8966 100644 --- a/checker.py +++ b/checker.py @@ -180,10 +180,10 @@ if __name__ == "__main__": for attempt in range(3): try: - result = check_logs(logger) - data = f"{result['proved_steps']}/{result['proof_speed']}/{result['errors']}" # proved/proof_speed/Errors + #result = check_logs(logger) + #data = f"{result['proved_steps']}/{result['proof_speed']}/{result['errors']}" # proved/proof_speed/Errors grist_callback({ "Health": "test ok" }) - print(result) + #print(result) break except Exception as e: logger.error(f"Error on attempt {attempt+1}/3: {e}")