This commit is contained in:
yumoqing 2026-03-03 17:33:40 +08:00
parent 82b3e32dd1
commit 79e9c78f74

View File

@ -54,7 +54,7 @@ async def zmq_subscribe(special_key: str, callback=None):
# 设置过滤:只接收以 special_key 开头的消息
sock.setsockopt_string(zmq.SUBSCRIBE, special_key)
if calback:
if callback:
debug(f"【服务端】启动,仅等待 Key 为 '{special_key}' 的消息...")
while True: