We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0031af commit 7d8896fCopy full SHA for 7d8896f
src/Sentiment/Wikiled.Sentiment.Analysis/Containers/SentimentMainModule.cs
@@ -41,7 +41,7 @@ public IServiceCollection ConfigureServices(IServiceCollection services)
41
services.AddSingleton<ISentenceRepairHandler, SentenceRepairHandler>();
42
services.AddSingleton<IExtendedWords, ExtendedWords>();
43
44
- services.AddScoped<IMemoryCache>(c => new MemoryCache(new MemoryCacheOptions()));
+ services.AddSingleton<IMemoryCache>(c => new MemoryCache(new MemoryCacheOptions()));
45
46
services.AddTransient<IWordFactory, WordOccurenceFactory>();
47
0 commit comments