diff --git a/src/WebJobs.Extensions.DurableTask/DurableTaskJobHostConfigurationExtensions.cs b/src/WebJobs.Extensions.DurableTask/DurableTaskJobHostConfigurationExtensions.cs index bd793c17a..2e215cd56 100644 --- a/src/WebJobs.Extensions.DurableTask/DurableTaskJobHostConfigurationExtensions.cs +++ b/src/WebJobs.Extensions.DurableTask/DurableTaskJobHostConfigurationExtensions.cs @@ -45,8 +45,6 @@ public static IServiceCollection AddDurableClientFactory(this IServiceCollection } serviceCollection.TryAddSingleton(); - serviceCollection.TryAddSingleton(); - serviceCollection.TryAddSingleton(); #if !FUNCTIONS_V1 serviceCollection.AddAzureClientsCore(); serviceCollection.TryAddSingleton();