ws
This commit is contained in:
parent
1804640fc3
commit
a2df6f7df6
@ -67,6 +67,7 @@ class WebsocketUtil:
|
||||
# global active_connections_dist
|
||||
active_connections_dist = self.queue.get()
|
||||
self.queue.put(active_connections_dist)
|
||||
print(active_connections_dist)
|
||||
for connection in active_connections_dist[id]:
|
||||
try:
|
||||
connection.send(json.dumps(message, cls=MyEncoder, indent=4), )
|
||||
|
Loading…
x
Reference in New Issue
Block a user