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 @@ -39,8 +39,6 @@ private static void AddBufferBlockTransactionProcessorQueue<TTransactionProcesso
3939
4040 serviceCollection . AddHostedService ( serviceProvider =>
4141 serviceProvider . GetRequiredService < BufferBlockTransactionQueue < TTransactionProcessor > > ( ) ) ;
42-
43- serviceCollection . AddSingleton < ITransactionSubscriber , TransactionProcessorSubscriber < TTransactionProcessor > > ( ) ;
4442 }
4543
4644 internal static void Add < TService > ( this IServiceCollection serviceCollection , ServiceLifetime serviceLifetime ,
@@ -74,10 +72,7 @@ public static void AddTransactionProcessorSubscriber<TTransactionProcessor>(this
7472
7573 serviceCollection . AddSingleton < TransactionProcessorSubscriber < TTransactionProcessor > > ( ) ;
7674
77- serviceCollection . AddSingleton < ITransactionSubscriber > (
78- serviceProvider =>
79- serviceProvider . GetRequiredService < TransactionProcessorSubscriber < TTransactionProcessor > > ( )
80- ) ;
75+ serviceCollection . AddSingleton < ITransactionSubscriber , TransactionProcessorSubscriber < TTransactionProcessor > > ( ) ;
8176
8277 if ( testMode )
8378 {
You can’t perform that action at this time.
0 commit comments