fix: CTP连接改后台异步,避免多路重连互相阻塞

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-24 13:49:25 +08:00
parent 1d95950b5c
commit 049aaffdcf
4 changed files with 198 additions and 84 deletions
+1 -1
View File
@@ -1682,4 +1682,4 @@ start_background_threads()
# —————————————— 启动 ——————————————
if __name__ == "__main__":
app.run(host=HOST, port=PORT, debug=DEBUG)
app.run(host=HOST, port=PORT, debug=DEBUG, threaded=True)