feat(DIExtensions): Add memory cache.
This commit is contained in:
parent
db52e97d03
commit
b2a287cab5
@ -22,6 +22,7 @@ public static class DIExtensions
|
||||
services.AddSingleton(Options.Create(consumers));
|
||||
services.AddSingleton<IConsumerService, ConfiguredConsumerService>();
|
||||
services.AddSingleton<INotifier, Notifier>();
|
||||
services.AddMemoryCache();
|
||||
return services;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user