From 4208f5c26635309d9e17cc5838b92f5abcce0ce9 Mon Sep 17 00:00:00 2001 From: Sean Feldman Date: Sun, 4 Oct 2020 16:43:10 -0600 Subject: [PATCH] Do not disable delayed recoverability --- .../Serverless/ServerlessEndpointConfiguration.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/NServiceBus.AzureFunctions.ServiceBus/Serverless/ServerlessEndpointConfiguration.cs b/src/NServiceBus.AzureFunctions.ServiceBus/Serverless/ServerlessEndpointConfiguration.cs index 662b068d..1927949a 100644 --- a/src/NServiceBus.AzureFunctions.ServiceBus/Serverless/ServerlessEndpointConfiguration.cs +++ b/src/NServiceBus.AzureFunctions.ServiceBus/Serverless/ServerlessEndpointConfiguration.cs @@ -20,8 +20,6 @@ protected ServerlessEndpointConfiguration(string endpointName) { EndpointConfiguration = new EndpointConfiguration(endpointName); - EndpointConfiguration.Recoverability().Delayed(c => c.NumberOfRetries(0)); - recoverabilityPolicy.SendFailedMessagesToErrorQueue = true; EndpointConfiguration.Recoverability().CustomPolicy(recoverabilityPolicy.Invoke);