mirror of
https://github.com/immich-app/immich.git
synced 2025-07-07 18:24:10 -04:00
fix: skip locked photos during duplicate scan. (#19105)
Skip locked photos during duplicate scan.
This commit is contained in:
parent
103b83d2d6
commit
de756d9497
@ -78,6 +78,11 @@ export class DuplicateService extends BaseService {
|
||||
return JobStatus.SKIPPED;
|
||||
}
|
||||
|
||||
if (asset.visibility === AssetVisibility.LOCKED) {
|
||||
this.logger.debug(`Asset ${id} is locked, skipping`);
|
||||
return JobStatus.SKIPPED;
|
||||
}
|
||||
|
||||
if (!asset.embedding) {
|
||||
this.logger.debug(`Asset ${id} is missing embedding`);
|
||||
return JobStatus.FAILED;
|
||||
|
Loading…
x
Reference in New Issue
Block a user