From cdc179b1f41299285599a57dd8886648ba01e6d4 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Sat, 7 Sep 2024 20:27:29 +0300 Subject: [PATCH] remove Max Retry Reached --- logs_parser.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/logs_parser.py b/logs_parser.py index 8843613..49250c3 100644 --- a/logs_parser.py +++ b/logs_parser.py @@ -44,9 +44,9 @@ def parse_logs(timeout): unsuccessful_attempts += 1 retry_info = data["message"].split("Retry ")[1].strip("()") current_retry, max_retry = map(int, retry_info.split("/")) - if current_retry == max_retry: - print(f"Max Retry Reached: {data}", flush=True) - return False, "Max Retry Reached" + #if current_retry == max_retry: + # print(f"Max Retry Reached: {data}", flush=True) + # return False, "Max Retry Reached" except Exception as e: print(f"Exception occurred: {e}", flush=True)