From 15569edd9fc054c0cdac5279e0a346a64f058963 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期四, 17 八月 2023 15:17:42 +0800
Subject: [PATCH] 删除redis日志与时间日志

---
 huaxin_api/l1_client.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/huaxin_api/l1_client.py b/huaxin_api/l1_client.py
index 36e23dd..8366fa9 100644
--- a/huaxin_api/l1_client.py
+++ b/huaxin_api/l1_client.py
@@ -162,13 +162,13 @@
 
 def run(pipe_l2):
     logger_local_huaxin_l1.info("杩愯l1璁㈤槄鏈嶅姟")
-    time.sleep(10)
     codes_sh = []
     codes_sz = []
-    for i in range(3):
+    for i in range(10):
         try:
             codes_sh, codes_sz = get_level1_codes()
             logger_local_huaxin_l1.info(f"鑾峰彇涓婅瘉锛屾繁璇佷唬鐮佹暟閲忥細sh-{len(codes_sh)} sz-{len(codes_sz)}")
+            break
         except Exception as e:
             logger_local_huaxin_l1.exception(e)
             time.sleep(4)

--
Gitblit v1.8.0