refactor: 移除重算脚本部署,autocommit模式,2秒轮询

This commit is contained in:
2026-02-05 23:53:05 +08:00
parent 40b861ae3d
commit 76fcb106f3
4 changed files with 33 additions and 82 deletions

View File

@@ -9,7 +9,7 @@
- 支持 pHash 感知哈希预筛选
- 异步批量下载和处理图片
- 自动标记重复图片并记录相似度分数
- 守护模式运行,无数据时等待 10 秒后继续检查
- 守护模式运行,无数据时等待 2 秒后继续检查
## 环境要求
@@ -76,16 +76,10 @@ python stats_similarity.py
## 服务器部署
```bash
# 启动所有服务
# 启动服务
./start_similarity.sh start
# 只启动主处理脚本
./start_similarity.sh start-check
# 只启动重算脚本
./start_similarity.sh start-recalc
# 停止所有服务
# 停止服务
./start_similarity.sh stop
# 强制停止