|
@@ -330,6 +330,7 @@ cat runtime/state.json
|
|
|
- **配置关键**(`configs/config.local.json`):
|
|
- **配置关键**(`configs/config.local.json`):
|
|
|
- `cfst_local.work_dir`:测速工作目录(如 `./cfst_darwin_arm64`)
|
|
- `cfst_local.work_dir`:测速工作目录(如 `./cfst_darwin_arm64`)
|
|
|
- `cfst_local.binary`:测速程序路径(如 `./cfst`)
|
|
- `cfst_local.binary`:测速程序路径(如 `./cfst`)
|
|
|
|
|
+ - `cfst_local.run_args`:cfst 参数;测速地址统一为 `-url https://speed.cloudflare.com/__down?bytes=50000000`,避免依赖默认地址
|
|
|
- `cfst_local.skip_run`:设为 `true` 时仅解析现有 `result.csv`,设为 `false` 时每次调用二进制执行测速。
|
|
- `cfst_local.skip_run`:设为 `true` 时仅解析现有 `result.csv`,设为 `false` 时每次调用二进制执行测速。
|
|
|
- **下载测速保护**:系统自动剔除 `download_speed == 0.00` 的失效死节点;当在 `run_args` 中显式指定 `-dd`(禁用下载测速)时,自动转为按平均延迟排序。
|
|
- **下载测速保护**:系统自动剔除 `download_speed == 0.00` 的失效死节点;当在 `run_args` 中显式指定 `-dd`(禁用下载测速)时,自动转为按平均延迟排序。
|
|
|
|
|
|
|
@@ -354,6 +355,8 @@ cat runtime/state.json
|
|
|
├── cfst / ip.txt / result.csv # 测速二进制与网段文件
|
|
├── cfst / ip.txt / result.csv # 测速二进制与网段文件
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
|
|
+测速地址由 `config_router.conf` 的 `CFST_URL` 指定,默认 `https://speed.cloudflare.com/__down?bytes=50000000`,与本地 Python 模式保持一致。
|
|
|
|
|
+
|
|
|
---
|
|
---
|
|
|
|
|
|
|
|
### 4.2 [最佳实践] 延长路由器闪存寿命(动静分离防擦写)
|
|
### 4.2 [最佳实践] 延长路由器闪存寿命(动静分离防擦写)
|