Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
azure-open-ai-embeddings-sales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f733b087
authored
Feb 26, 2024
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改进程数量
1 parent
5a8f65ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
code/Sales_FastApi.py
code/Sales_FastApi.py
View file @
f733b08
...
@@ -279,6 +279,8 @@ async def websocket_endpoint(ws: WebSocket, client_id: str):
...
@@ -279,6 +279,8 @@ async def websocket_endpoint(ws: WebSocket, client_id: str):
# await ws.send_text("<rdfast stop>") # 自定义结束符
# await ws.send_text("<rdfast stop>") # 自定义结束符
except
WebSocketDisconnect
:
except
WebSocketDisconnect
:
print
(
f
"{client_id}:连接已断开"
)
print
(
f
"{client_id}:连接已断开"
)
except
WebSocketDisconnect
:
print
(
f
"{client_id}:连接已断开"
)
async
def
websocket_endpoint_01
(
ws
:
WebSocket
,
client_id
:
str
):
async
def
websocket_endpoint_01
(
ws
:
WebSocket
,
client_id
:
str
):
await
ws
.
accept
()
await
ws
.
accept
()
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment