Use MemoryCache.Set since SetValue does not flush to cache automatically.

pull/3837/head
cvium 4 years ago
parent 796eeb2cda
commit 0cf75992a8

@ -299,7 +299,7 @@ namespace Emby.Server.Implementations.Library
} }
} }
_memoryCache.CreateEntry(item.Id).SetValue(item); _memoryCache.Set(item.Id, item);
} }
public void DeleteItem(BaseItem item, DeleteOptions options) public void DeleteItem(BaseItem item, DeleteOptions options)

Loading…
Cancel
Save