Winify
/trunk/Winify/Gotify/GotifyConnection.cs |
@@ -129,7 +129,9 @@ |
|
var image = Image.FromStream(imageStream); |
|
_applicationImageCache.Add($"{message.AppId}", image.Clone(), |
var clone = image.Clone(); |
|
_applicationImageCache.Add($"{message.AppId}", clone, |
new CacheItemPolicy |
{ |
SlidingExpiration = TimeSpan.FromHours(1) |
@@ -439,7 +441,9 @@ |
|
var image = Image.FromStream(imageStream); |
|
_applicationImageCache.Add($"{message.AppId}", image.Clone(), |
var clone = image.Clone(); |
|
_applicationImageCache.Add($"{message.AppId}", clone, |
new CacheItemPolicy |
{ |
SlidingExpiration = TimeSpan.FromHours(1) |