Browse Source

1

origin/hotfix/hlk-flight
root 4 months ago
parent
commit
6a9841682a
  1. 1
      app/core/websocket/adapter.py

1
app/core/websocket/adapter.py

@ -87,6 +87,7 @@ class WebSocketAdapter:
try:
# 从Channel接收消息
msg = await self.outbound_channel.receive_message(timeout=0.5)
logger.debug(f"适配器接收消息: {self.outbound_channel.name} -> msg: {msg}")
if msg:
# 将消息数据序列化为JSON字符串
import json

Loading…
Cancel
Save