add image processor delay

This commit is contained in:
Luke Pulverenti 2015-09-20 11:39:44 -04:00
parent 317c6bcd68
commit 9db6f610c6

View File

@ -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