🐛 fix(chat.py): update variable name from in_memory_cache to cache_manager for better clarity and consistency
This commit is contained in:
parent
7a63b5635d
commit
18af716290
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ async def chat(
|
|||
code=status.WS_1008_POLICY_VIOLATION, reason="Unauthorized"
|
||||
)
|
||||
|
||||
if client_id in chat_manager.in_memory_cache:
|
||||
if client_id in chat_manager.cache_manager:
|
||||
await chat_manager.handle_websocket(client_id, websocket)
|
||||
else:
|
||||
# We accept the connection but close it immediately
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue