mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-06 21:19:54 +02:00
add comment
This commit is contained in:
parent
5a09c30227
commit
c8f67b7c55
@ -547,6 +547,10 @@ if __name__ == "__main__":
|
|||||||
latest_slack_bot_tokens, tenant_id
|
latest_slack_bot_tokens, tenant_id
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Initialize socket client for this tenant. Each tenant has its own
|
||||||
|
# socket client, allowing for multiple concurrent connections (one
|
||||||
|
# per tenant) with the tenant ID wrapped in the socket model client.
|
||||||
|
# Each `connect` stores websocket connection in a separate thread.
|
||||||
_initialize_socket_client(socket_client)
|
_initialize_socket_client(socket_client)
|
||||||
|
|
||||||
socket_clients[tenant_id] = socket_client
|
socket_clients[tenant_id] = socket_client
|
||||||
|
Loading…
x
Reference in New Issue
Block a user