add image processor delay
This commit is contained in:
parent
317c6bcd68
commit
9db6f610c6
|
@ -227,6 +227,9 @@ namespace Emby.Drawing
|
||||||
imageProcessingLockTaken = true;
|
imageProcessingLockTaken = true;
|
||||||
|
|
||||||
_imageEncoder.EncodeImage(originalImagePath, cacheFilePath, newWidth, newHeight, quality, options);
|
_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
|
finally
|
||||||
|
|
Loading…
Reference in New Issue
Block a user