From 2f92e54dad9d2480faf8ea3d1ded099aa1df9bbd Mon Sep 17 00:00:00 2001 From: Administrator <admin@example.com> Date: 星期五, 01 九月 2023 15:24:35 +0800 Subject: [PATCH] 注释掉测试 --- third_data/kpl_data_manager.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/third_data/kpl_data_manager.py b/third_data/kpl_data_manager.py index 53ee479..f64803f 100644 --- a/third_data/kpl_data_manager.py +++ b/third_data/kpl_data_manager.py @@ -325,11 +325,13 @@ def get_limit_up(): while True: - if tool.is_trade_time(): + if tool.is_trade_time() or True: try: results = kpl_api.daBanList(kpl_api.DABAN_TYPE_LIMIT_UP) result = json.loads(results) + start_time = time.time() __upload_data("limit_up", result) + logger_kpl_limit_up_reason_change.info("涓婁紶鑰楁椂锛歿}", time.time() - start_time) except Exception as e: pass time.sleep(3) -- Gitblit v1.8.0