fix socket
This commit is contained in:
parent
b4237654e3
commit
0307bf0857
2
app.py
2
app.py
@ -427,7 +427,7 @@ def query_recent_connections():
|
|||||||
]
|
]
|
||||||
|
|
||||||
if connections != last_connections:
|
if connections != last_connections:
|
||||||
socketio.emit('recent_connections', connections)
|
socketio.emit('recent_connections', connections, broadcast=True)
|
||||||
last_connections = connections.copy()
|
last_connections = connections.copy()
|
||||||
|
|
||||||
socketio.sleep(1)
|
socketio.sleep(1)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user