mirror of
https://github.com/immich-app/immich.git
synced 2025-12-19 17:23:21 +03:00
feat(server): apply storage migration after exif completes (#2093)
* feat(server): apply storage migraiton after exif completes * feat: same for videos * fix: migration for live photos
This commit is contained in:
@@ -127,6 +127,11 @@ export class StorageTemplateMigrationProcessor {
|
||||
async onTemplateMigration() {
|
||||
await this.storageTemplateService.handleTemplateMigration();
|
||||
}
|
||||
|
||||
@Process({ name: JobName.STORAGE_TEMPLATE_MIGRATION_SINGLE })
|
||||
async onTemplateMigrationSingle(job: Job<IAssetJob>) {
|
||||
await this.storageTemplateService.handleTemplateMigrationSingle(job.data);
|
||||
}
|
||||
}
|
||||
|
||||
@Processor(QueueName.THUMBNAIL_GENERATION)
|
||||
|
||||
Reference in New Issue
Block a user