Re-adds the indexes removed

This commit is contained in:
Shannon
2020-08-25 14:19:44 +10:00
parent aec828098d
commit a078a30990
3 changed files with 13 additions and 16 deletions

View File

@@ -16,6 +16,8 @@ namespace Umbraco.Web.PublishedCache.NuCache
var serializer = ConfigurationManager.AppSettings["Umbraco.Web.PublishedCache.NuCache.Serializer"];
composition.Register<INuCachePropertyOptionsFactory, AppSettingsNuCachePropertyMapFactory>();
composition.Register<Lz4DictionaryOfPropertyDataSerializer, Lz4DictionaryOfPropertyDataSerializer>();
// TODO: Based on our findings it seems like this should not be configurable, we should just be using this because it's better
if (serializer == "MsgPack")
{
var propertyDictionarySerializer = ConfigurationManager.AppSettings["Umbraco.Web.PublishedCache.NuCache.DictionaryOfPropertiesSerializer"];