mirror of https://github.com/jellyfin/jellyfin.git
Fix MemoryCache usage
This commit is contained in:
parent
5c65abcd94
commit
8373d6297c
|
@ -54,7 +54,7 @@ namespace Emby.Server.Implementations.LiveTv.TunerHosts
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(key) && list.Count > 0)
|
if (!string.IsNullOrEmpty(key) && list.Count > 0)
|
||||||
{
|
{
|
||||||
_memoryCache.CreateEntry(key).SetValue(list);
|
_memoryCache.Set(key, list);
|
||||||
}
|
}
|
||||||
|
|
||||||
return list;
|
return list;
|
||||||
|
|
Loading…
Reference in New Issue