mirror of
https://github.com/hotyue/IP-Sentinel.git
synced 2026-07-07 02:51:22 +08:00
feat(arch): 跃升 v4.2.0,重构控制面与数据面双轨分离架构,彻底根除 IPv6 恶劣路由引发的指令下发超时/耳聋难题
This commit is contained in:
@@ -64,7 +64,7 @@ REPO_RAW_URL="https://raw.githubusercontent.com/hotyue/IP-Sentinel/main"
|
||||
|
||||
# [链路容灾] 双栈冗余防抖抓取,确立本地态势版本号
|
||||
TARGET_VERSION=$( (curl -fsSL --connect-timeout 5 --retry 2 "${REPO_RAW_URL}/version.txt" || curl -4 -fsSL --connect-timeout 5 --retry 2 "${REPO_RAW_URL}/version.txt") 2>/dev/null | grep "^MASTER_VERSION=" | cut -d'=' -f2 | tr -d '[:space:]')
|
||||
TARGET_VERSION=${TARGET_VERSION:-"4.0.7"}
|
||||
TARGET_VERSION=${TARGET_VERSION:-"4.2.0"}
|
||||
|
||||
MASTER_DIR="/opt/ip_sentinel_master"
|
||||
DB_FILE="${MASTER_DIR}/sentinel.db"
|
||||
|
||||
Reference in New Issue
Block a user