aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ApplicationHost.cs
diff options
context:
space:
mode:
authorClaus Vium <clausvium@gmail.com>2019-02-15 22:02:17 +0100
committerClaus Vium <clausvium@gmail.com>2019-02-15 22:02:17 +0100
commitcb6d2cbd2dffa7854f4a151672be6f6187a95154 (patch)
treefdfbda4c74acd27413ba5f9db9455fcd3055f6ad /Emby.Server.Implementations/ApplicationHost.cs
parentce51025e7cd27cab307dedd108eab6a1886757a3 (diff)
Remove SizeLimit
Diffstat (limited to 'Emby.Server.Implementations/ApplicationHost.cs')
-rw-r--r--Emby.Server.Implementations/ApplicationHost.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/ApplicationHost.cs b/Emby.Server.Implementations/ApplicationHost.cs
index e5e38bbf3..432cd0bea 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
/// </summary>
protected async Task RegisterResources(IServiceCollection serviceCollection)
{
- serviceCollection.AddMemoryCache(options => options.SizeLimit = 1024);
+ serviceCollection.AddMemoryCache();
serviceCollection.AddSingleton(ConfigurationManager);
serviceCollection.AddSingleton<IApplicationHost>(this);