mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
01420fd189
commit
627f680659
1 changed files with 4 additions and 1 deletions
|
|
@ -446,7 +446,10 @@ async def yjs_document_update(sid, data):
|
||||||
"""Handle Yjs document updates"""
|
"""Handle Yjs document updates"""
|
||||||
try:
|
try:
|
||||||
document_id = data["document_id"]
|
document_id = data["document_id"]
|
||||||
await stop_item_tasks(REDIS, document_id)
|
try:
|
||||||
|
await stop_item_tasks(REDIS, document_id)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
user_id = data.get("user_id", sid)
|
user_id = data.get("user_id", sid)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue