mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-03 21:54:26 -04:00
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)
|
public void DeleteItem(BaseItem item, DeleteOptions options)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user