机器人显示名与站点标题可配;多段联运列表投影;协同群监听对账;工单附件落存;模板与工单后台补强
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -45,12 +45,12 @@ class Settings(BaseSettings):
|
||||
default="",
|
||||
alias="INQUIRY_FORM_PUBLIC_BASE_URL",
|
||||
)
|
||||
biz_api_base_url: str = Field(default="http://127.0.0.1:8180/jeecgboot", alias="BIZ_API_BASE_URL")
|
||||
biz_api_base_url: str = Field(default="http://127.0.0.1:8080/jeecgboot", alias="BIZ_API_BASE_URL")
|
||||
biz_api_token: str = Field(default="", alias="BIZ_API_TOKEN")
|
||||
biz_api_username: str = Field(default="", alias="BIZ_API_USERNAME")
|
||||
biz_api_password: str = Field(default="", alias="BIZ_API_PASSWORD")
|
||||
biz_api_timeout_seconds: float = Field(default=10.0, alias="BIZ_API_TIMEOUT_SECONDS")
|
||||
# http=打 8180 真主账/真 TMS;memory=单测假账本
|
||||
# http=打 8080 真主账/真 TMS;memory=单测假账本
|
||||
ledger_backend: str = Field(default="http", alias="LEDGER_BACKEND")
|
||||
agent_callback_token: str = Field(default="", alias="AGENT_CALLBACK_TOKEN")
|
||||
# 兼容现网变量名
|
||||
@@ -75,6 +75,18 @@ class Settings(BaseSettings):
|
||||
wshoto_poll_enabled: bool = Field(default=True, alias="WSHOTO_POLL_ENABLED")
|
||||
# 群消息靠会话存档,扫得越勤,听到得越快。热窗内还会再压到 1 秒。
|
||||
wshoto_poll_interval_sec: float = Field(default=2.0, alias="WSHOTO_POLL_INTERVAL_SEC")
|
||||
# 协同群监听对账间隔(秒)。主账绑群 vs Redis 监听,缺则补、结束则清。
|
||||
collab_watch_reconcile_interval_sec: float = Field(
|
||||
default=900.0,
|
||||
alias="COLLAB_WATCH_RECONCILE_INTERVAL_SEC",
|
||||
)
|
||||
# 每轮最多扫多少个冷群。热窗内的群每轮必扫。
|
||||
# 默认尽量一轮扫完;遇限频会提前停并靠游标续扫。不要压太小,否则冷群要等很多轮才听见「解散群」。
|
||||
wshoto_rooms_per_poll: int = Field(default=120, alias="WSHOTO_ROOMS_PER_POLL")
|
||||
# 单轮房间拉取时间预算(秒)。超时本轮停,下一轮从游标续,避免卡死 Worker。
|
||||
wshoto_poll_budget_sec: float = Field(default=20.0, alias="WSHOTO_POLL_BUDGET_SEC")
|
||||
# 房间之间的最小间隔(毫秒),减轻「请求频率过高」。
|
||||
wshoto_room_gap_ms: int = Field(default=100, alias="WSHOTO_ROOM_GAP_MS")
|
||||
wshoto_bootstrap_lookback_sec: int = Field(
|
||||
default=10800,
|
||||
alias="WSHOTO_BOOTSTRAP_LOOKBACK_SEC",
|
||||
|
||||
Reference in New Issue
Block a user