From 7f183251b5e0a5b51069ec17ae64f1f55fb3e5a8 Mon Sep 17 00:00:00 2001 From: zlt Date: Wed, 29 Jul 2026 11:20:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/settings.py b/config/settings.py index dc7f14e..77beb2f 100644 --- a/config/settings.py +++ b/config/settings.py @@ -91,7 +91,7 @@ class Settings(BaseSettings): # --- QMT WebSocket 直连通道 (协议见 QMT_WS_PROTOCOL.md V1.0) --- # 连接由 pms-ws 常驻进程独占 (app/ws/runner.py); executor 经 pms_qmt_order # 出口表递单, 详见 app/services/dispatcher.py 头部的「进程边界」一节。 - PMS_QMT_WS_URL: str = "ws://192.168.16.98:9443" + PMS_QMT_WS_URL: str = "ws://192.168.16.98:9443/pms" PMS_QMT_WS_ENABLED: bool = False # pms-ws 进程总开关; False = 空转不连接不写心跳 PMS_QMT_ACK_BATCH: int = 20 # 累积确认: 每落库 N 条发一次 ack_seq PMS_QMT_ACK_INTERVAL_SEC: float = 2.0 # 累积确认: 或每 N 秒发一次 (取先到)