wip
auto-detect available extensions auto-recovery, fix reindexing check use original image for ml
This commit is contained in:
@@ -33,6 +33,7 @@ import {
|
||||
QueueName,
|
||||
SourceType,
|
||||
SystemMetadataKey,
|
||||
VectorIndex,
|
||||
} from 'src/enum';
|
||||
import { BoundingBox } from 'src/repositories/machine-learning.repository';
|
||||
import { UpdateFacesData } from 'src/repositories/person.repository';
|
||||
@@ -416,6 +417,8 @@ export class PersonService extends BaseService {
|
||||
return JobStatus.SKIPPED;
|
||||
}
|
||||
|
||||
await this.databaseRepository.prewarm(VectorIndex.FACE);
|
||||
|
||||
const lastRun = new Date().toISOString();
|
||||
const facePagination = this.personRepository.getAllFaces(
|
||||
force ? undefined : { personId: null, sourceType: SourceType.MACHINE_LEARNING },
|
||||
|
||||
Reference in New Issue
Block a user