Use MemoryCache.Set since SetValue does not flush to cache automatically.
This commit is contained in:
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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user