mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 09:58:04 +08:00
fix imported updates also broadcast to other clients
This commit is contained in:
@ -140,10 +140,10 @@ def handle_collaboration_event(sid, data):
|
||||
return {"msg": "event_broadcasted"}
|
||||
|
||||
|
||||
@sio.on("graph_update")
|
||||
def handle_graph_update(sid, data):
|
||||
@sio.on("graph_event")
|
||||
def handle_graph_event(sid, data):
|
||||
"""
|
||||
Handle graph updates - simple broadcast relay.
|
||||
Handle graph events - simple broadcast relay.
|
||||
"""
|
||||
mapping = redis_client.get(f"ws_sid_map:{sid}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user