mirror of
https://github.com/immich-app/immich.git
synced 2026-03-07 10:37:22 +03:00
feat(server): set exiftool process count (#16388)
exiftool concurrency control
This commit is contained in:
@@ -85,6 +85,10 @@ export class MetadataRepository {
|
||||
this.logger.setContext(MetadataRepository.name);
|
||||
}
|
||||
|
||||
setMaxConcurrency(concurrency: number) {
|
||||
this.exiftool.batchCluster.setMaxProcs(concurrency);
|
||||
}
|
||||
|
||||
async teardown() {
|
||||
await this.exiftool.end();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user