mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
add image processor delay
This commit is contained in:
parent
317c6bcd68
commit
9db6f610c6
1 changed files with 3 additions and 0 deletions
|
@ -227,6 +227,9 @@ namespace Emby.Drawing
|
|||
imageProcessingLockTaken = true;
|
||||
|
||||
_imageEncoder.EncodeImage(originalImagePath, cacheFilePath, newWidth, newHeight, quality, options);
|
||||
|
||||
// ImageMagick doesn't seem to always release it right away
|
||||
await Task.Delay(100).ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
finally
|
||||
|
|
Loading…
Reference in a new issue