心跳掉线判定超时从10分钟调成1小时 (#107)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: 陈世睿 <2839904623@qq.com> Reviewed-on: #107 Co-authored-by: chenshirui <chenshirui@wonderable.ai> Co-committed-by: chenshirui <chenshirui@wonderable.ai>
This commit was merged in pull request #107.
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ JG_REQUEST_TIMEOUT_SEC=15
|
|||||||
|
|
||||||
# ===== 无障碍保护存活监控(pull 后置检测;本期不接推送)=====
|
# ===== 无障碍保护存活监控(pull 后置检测;本期不接推送)=====
|
||||||
HEARTBEAT_MONITOR_ENABLED=true
|
HEARTBEAT_MONITOR_ENABLED=true
|
||||||
HEARTBEAT_TIMEOUT_MINUTES=10
|
HEARTBEAT_TIMEOUT_MINUTES=60
|
||||||
HEARTBEAT_SCAN_INTERVAL_SEC=60
|
HEARTBEAT_SCAN_INTERVAL_SEC=60
|
||||||
|
|
||||||
# ===== 短信 (mock 模式) =====
|
# ===== 短信 (mock 模式) =====
|
||||||
|
|||||||
+1
-1
@@ -68,7 +68,7 @@ class Settings(BaseSettings):
|
|||||||
|
|
||||||
# 无障碍保护存活监控后台任务(pull 后置检测;本期不接推送)
|
# 无障碍保护存活监控后台任务(pull 后置检测;本期不接推送)
|
||||||
HEARTBEAT_MONITOR_ENABLED: bool = True # 总开关
|
HEARTBEAT_MONITOR_ENABLED: bool = True # 总开关
|
||||||
HEARTBEAT_TIMEOUT_MINUTES: int = 10 # 多久没心跳算掉线(≈3 个客户端心跳周期)
|
HEARTBEAT_TIMEOUT_MINUTES: int = 60 # 多久没心跳算掉线(1 小时,避免短暂离线误判被杀)
|
||||||
HEARTBEAT_SCAN_INTERVAL_SEC: int = 60 # 扫描周期
|
HEARTBEAT_SCAN_INTERVAL_SEC: int = 60 # 扫描周期
|
||||||
|
|
||||||
# ===== 短信 =====
|
# ===== 短信 =====
|
||||||
|
|||||||
Reference in New Issue
Block a user