Use MemoryCache.Set since SetValue does not flush to cache automatically.

This commit is contained in:
cvium 2020-08-07 11:55:22 +02:00
parent 796eeb2cda
commit 0cf75992a8

View File

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