fix: enable threaded Flask on binance/gate for SSE embed live push

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-07 11:24:17 +08:00
parent 2ad9e049f3
commit 6571fc9029
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -9765,4 +9765,4 @@ _purge_key_monitors_if_full_margin()
# 启动
if __name__ == "__main__":
threading.Thread(target=background_task, daemon=True).start()
app.run(host=HOST, port=PORT, debug=DEBUG)
app.run(host=HOST, port=PORT, debug=DEBUG, threaded=True)