diff --git a/src/ServiceControl.Transports.SQS/SQSTransportCustomization.cs b/src/ServiceControl.Transports.SQS/SQSTransportCustomization.cs index be9f9df6c1..8c17902b53 100644 --- a/src/ServiceControl.Transports.SQS/SQSTransportCustomization.cs +++ b/src/ServiceControl.Transports.SQS/SQSTransportCustomization.cs @@ -71,7 +71,10 @@ protected override SqsTransport CreateTransport(TransportSettings transportSetti snsClient = new AmazonSimpleNotificationServiceClient(); } - var transport = new SqsTransport(sqsClient, snsClient, disableUnrestrictedDelayedDelivery: true); + var transport = new SqsTransport(sqsClient, snsClient, disableUnrestrictedDelayedDelivery: true) + { + MaxAutoMessageVisibilityRenewalDuration = TimeSpan.Zero + }; if (!string.IsNullOrEmpty(builder.QueueNamePrefix)) {