Browse Source

Merge pull request #3837 from cvium/fix_memorycache

Fix BaseItems not being cached in-memory
Bond-009 4 years ago
parent
commit
c82b26a4b1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Emby.Server.Implementations/Library/LibraryManager.cs

+ 1 - 1
Emby.Server.Implementations/Library/LibraryManager.cs

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