File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
src/EntityDb.Common/Extensions Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,6 @@ private static void AddBufferBlockTransactionProcessorQueue<TTransactionProcesso
3838
3939 serviceCollection . AddHostedService ( serviceProvider =>
4040 serviceProvider . GetRequiredService < BufferBlockTransactionQueue < TTransactionProcessor > > ( ) ) ;
41-
42- serviceCollection . AddSingleton < ITransactionSubscriber , TransactionProcessorSubscriber < TTransactionProcessor > > ( ) ;
4341 }
4442
4543 internal static void Add < TService > ( this IServiceCollection serviceCollection , ServiceLifetime serviceLifetime ,
@@ -80,10 +78,7 @@ public static void AddTransactionProcessorSubscriber<TTransactionProcessor>(this
8078
8179 serviceCollection . AddSingleton < TransactionProcessorSubscriber < TTransactionProcessor > > ( ) ;
8280
83- serviceCollection . AddSingleton < ITransactionSubscriber > (
84- serviceProvider =>
85- serviceProvider . GetRequiredService < TransactionProcessorSubscriber < TTransactionProcessor > > ( )
86- ) ;
81+ serviceCollection . AddSingleton < ITransactionSubscriber , TransactionProcessorSubscriber < TTransactionProcessor > > ( ) ;
8782
8883 if ( testMode )
8984 {
You can’t perform that action at this time.
0 commit comments