1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-25 20:09:18 +02:00

fix(server): disable sharp file caching (#6542)

don't cache files
This commit is contained in:
Mert
2024-01-20 23:10:14 -05:00
committed by GitHub
parent 4d417019c0
commit 311261bd4e

View File

@@ -9,6 +9,7 @@ import { promisify } from 'util';
const probe = promisify<string, FfprobeData>(ffmpeg.ffprobe);
sharp.concurrency(0);
sharp.cache({ files: 0 });
export class MediaRepository implements IMediaRepository {
private logger = new ImmichLogger(MediaRepository.name);