mirror of
https://github.com/immich-app/immich
synced 2026-08-29 13:15:45 +00:00
Added support for storing HEIC, faster video backup, lighter docker image with a trade off of switching machine learning to microservice
This commit is contained in:
parent
e81d5fb4ca
commit
090d009824
9 changed files with 241 additions and 216 deletions
|
|
@ -7,7 +7,6 @@ import { AssetService } from '../../api-v1/asset/asset.service';
|
|||
import { AssetEntity } from '../../api-v1/asset/entities/asset.entity';
|
||||
import { ImageOptimizeProcessor } from './image-optimize.processor';
|
||||
import { AssetOptimizeService } from './image-optimize.service';
|
||||
import { MachineLearningProcessor } from './machine-learning.processor';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
|
|
@ -19,18 +18,10 @@ import { MachineLearningProcessor } from './machine-learning.processor';
|
|||
removeOnFail: false,
|
||||
},
|
||||
}),
|
||||
BullModule.registerQueue({
|
||||
name: 'machine-learning',
|
||||
defaultJobOptions: {
|
||||
attempts: 3,
|
||||
removeOnComplete: true,
|
||||
removeOnFail: false,
|
||||
},
|
||||
}),
|
||||
|
||||
TypeOrmModule.forFeature([AssetEntity]),
|
||||
],
|
||||
providers: [AssetOptimizeService, ImageOptimizeProcessor, MachineLearningProcessor],
|
||||
providers: [AssetOptimizeService, ImageOptimizeProcessor],
|
||||
exports: [AssetOptimizeService],
|
||||
})
|
||||
export class ImageOptimizeModule {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue