diff --git a/crypto_monitor_binance/app.py b/crypto_monitor_binance/app.py index 9bef686..805fe10 100644 --- a/crypto_monitor_binance/app.py +++ b/crypto_monitor_binance/app.py @@ -9890,4 +9890,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) diff --git a/crypto_monitor_gate/app.py b/crypto_monitor_gate/app.py index 0245ffb..4152319 100644 --- a/crypto_monitor_gate/app.py +++ b/crypto_monitor_gate/app.py @@ -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) diff --git a/crypto_monitor_okx/.env.example b/crypto_monitor_okx/.env.example index a811dd2..26a27c2 100644 --- a/crypto_monitor_okx/.env.example +++ b/crypto_monitor_okx/.env.example @@ -233,7 +233,7 @@ OPENAI_MODEL=gemma4:e4b OLLAMA_API=http://127.0.0.1:11434/api/generate AI_MODEL=huihui_ai/deepseek-r1-abliterated:latest -# OKX 代理(可选):用于本机网络对 OKX TLS/SNI 不稳定时,通过 SSH 动态转发 SOCKS5 出口 +# OKX 代理(可选,仅本地开发网络受限时用;云服务器部署请留空,直连 OKX 即可) # 1) 先在本机建立隧道(示例): # ssh -N -D 127.0.0.1:1080 root@你的VPS_IP -o ServerAliveInterval=30 -o ExitOnForwardFailure=yes # 2) 再启用下面这一行(推荐 socks5h,让远端解析域名):