From cb6d2cbd2dffa7854f4a151672be6f6187a95154 Mon Sep 17 00:00:00 2001 From: Claus Vium Date: Fri, 15 Feb 2019 22:02:17 +0100 Subject: [PATCH] Remove SizeLimit --- Emby.Server.Implementations/ApplicationHost.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs index e5e38bbf36..432cd0beae 100644 --- a/Emby.Server.Implementations/ApplicationHost.cs +++ b/Emby.Server.Implementations/ApplicationHost.cs @@ -105,7 +105,6 @@ using MediaBrowser.Providers.Subtitles; using MediaBrowser.Providers.TV.TheTVDB; using MediaBrowser.WebDashboard.Api; using MediaBrowser.XbmcMetadata.Providers; -using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Logging; using Microsoft.Extensions.DependencyInjection; using ServiceStack; @@ -627,7 +626,7 @@ namespace Emby.Server.Implementations /// protected async Task RegisterResources(IServiceCollection serviceCollection) { - serviceCollection.AddMemoryCache(options => options.SizeLimit = 1024); + serviceCollection.AddMemoryCache(); serviceCollection.AddSingleton(ConfigurationManager); serviceCollection.AddSingleton(this);