mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-07 13:12:26 +00:00
Use MemoryCache.Set since SetValue does not flush to cache automatically.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user