From b9cad6bbd83975dd13ba2d27d8448b22be565232 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 9 Jun 2025 10:09:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20get=5Ftyy=5Fdata=20=E4=B8=8D=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/em/cd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/em/cd.py b/apps/em/cd.py index f6b97ca4..70a4ec77 100644 --- a/apps/em/cd.py +++ b/apps/em/cd.py @@ -64,9 +64,10 @@ def get_tyy_data(*args): cd_thread_key = f"cd_thread_{host}_{port}" cd_thread_val = cache.get(cd_thread_key, default=None) if cd_thread_val is None: - cache.set(cd_thread_key, "get") + cache.set(cd_thread_key, "start") cd_thread = MyThread(target=get_tyy_data_t, args=(host, port), daemon=True) cd_thread.start() + cache.set(cd_thread_key, "get") num = 0 while True: num += 1