Remove SizeLimit
This commit is contained in:
parent
ce51025e7c
commit
cb6d2cbd2d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user