feat: fpw plugins, validation/crawl perf, WS stats, test DB isolation
- Add Free_Proxy_Website-style fpw_* plugins and register them - Per-plugin crawl timeout (crawl_timeout_seconds=120); remove global crawl_timeout setting - Validator: fix connect vs total timeout on save; SOCKS session LRU cache; drop redundant semaphore - Validation handler uses single DB connection; batch upsert after crawl; WorkerPool put_nowait - Remove unused max_retries from settings API/UI; settings maintenance SQL + init_db cleanup of deprecated keys - WebSocket dashboard stats; ProxyList pool_filter and API alignment - POST /api/proxies/delete-one for IPv6-safe deletes; task poll stops on 404 - pytest uses PROXYPOOL_DB_PATH=db/proxies.test.sqlite so tests do not wipe production DB - .gitignore: explicit proxies.test.sqlite patterns; fix plugin_service ValidationException import Made-with: Cursor
This commit is contained in:
@@ -221,10 +221,15 @@ POST /api/settings
|
||||
- **验证超时**: 3-30秒,默认 5秒
|
||||
- **验证并发数**: 10-200,默认 50
|
||||
|
||||
### 评分机制
|
||||
### 待验证与可用
|
||||
- **爬取**:代理默认以「待验证」入库(`validated=0`,分数为 0),不会立刻参与随机/导出。
|
||||
- **验证**:在设置页「立即验证全部」或开启自动验证后,会**先验证待验证队列**,再按检查时间**复检已入库代理**;通过后标记为已验证并赋予分数。
|
||||
- **设置**:「爬取后立即验证」默认关闭;开启后爬取完成会像旧版一样立刻排队验证。
|
||||
|
||||
### 评分机制(仅针对已验证入池的代理)
|
||||
- **验证成功**: +10 分
|
||||
- **验证失败**: -5 分
|
||||
- **分数为 0**: 自动删除
|
||||
- **分数为 0**: 自动删除(待验证阶段验证失败则直接丢弃该条)
|
||||
|
||||
## 🔧 常见问题
|
||||
|
||||
|
||||
Reference in New Issue
Block a user