Skip to content

Commit e9d4a34

Browse files
committed
fix: add unlimited flag to prevent OOM
Fixes #20028
1 parent 1d73c79 commit e9d4a34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/repositories/media.repository.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ export class MediaRepository {
141141
failOn: options.processInvalidImages ? 'none' : 'error',
142142
limitInputPixels: false,
143143
raw: options.raw,
144+
unlimited: true,
144145
})
145146
.pipelineColorspace(options.colorspace === Colorspace.Srgb ? 'srgb' : 'rgb16')
146147
.withIccProfile(options.colorspace);

0 commit comments

Comments
 (0)