You've already forked FrameTour-BE
refactor(task): 移除过时的人脸清理功能
- 删除了 `cleanFaceSampleOss` 方法及相关调用 - 注释说明 VIID 相关功能已移除 -保留并继续使用 `cleanSourceOss` 和 `cleanVideoOss` 方法
This commit is contained in:
@@ -220,17 +220,9 @@ public class FaceCleaner {
|
|||||||
|
|
||||||
@Scheduled(cron = "0 0 2 * * ?")
|
@Scheduled(cron = "0 0 2 * * ?")
|
||||||
public void clearOss(){
|
public void clearOss(){
|
||||||
cleanFaceSampleOss();
|
|
||||||
cleanSourceOss();
|
cleanSourceOss();
|
||||||
cleanVideoOss();
|
cleanVideoOss();
|
||||||
}
|
}
|
||||||
private void cleanFaceSampleOss() {
|
|
||||||
log.info("开始清理人脸文件");
|
|
||||||
List<FaceSampleRespVO> list = faceSampleMapper.list(new FaceSampleReqQuery());
|
|
||||||
IStorageAdapter adapter = StorageFactory.use("faces");
|
|
||||||
// VIID相关功能已移除,不再清理VIID_FACE目录
|
|
||||||
log.info("VIID人脸文件清理功能已移除");
|
|
||||||
}
|
|
||||||
public void cleanSourceOss() {
|
public void cleanSourceOss() {
|
||||||
log.info("开始清理源视频素材文件");
|
log.info("开始清理源视频素材文件");
|
||||||
List<SourceRespVO> list = sourceMapper.list(new SourceReqQuery());
|
List<SourceRespVO> list = sourceMapper.list(new SourceReqQuery());
|
||||||
|
|||||||
Reference in New Issue
Block a user