ws
This commit is contained in:
parent
fcb39c8863
commit
1804640fc3
@ -29,7 +29,7 @@ class WebsocketUtil:
|
|||||||
# 等待连接
|
# 等待连接
|
||||||
msg = ws.receive()
|
msg = ws.receive()
|
||||||
# 存储ws连接对象
|
# 存储ws连接对象
|
||||||
active_connections_dist = Queue.get()
|
active_connections_dist = self.queue.get()
|
||||||
if id in active_connections_dist:
|
if id in active_connections_dist:
|
||||||
active_connections_dist[id].append(ws)
|
active_connections_dist[id].append(ws)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user