From 33749a480c1381709d9d5494dd671b94e31f28e8 Mon Sep 17 00:00:00 2001 From: Aleksander Lund Date: Mon, 2 Oct 2023 23:13:56 +0200 Subject: [PATCH] Increasing the time of delay when retrying to process queued message (Provision) --- .../ServiceBus/QueueMessageProcessor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/function/Fusion.Resources.Functions/ServiceBus/QueueMessageProcessor.cs b/src/backend/function/Fusion.Resources.Functions/ServiceBus/QueueMessageProcessor.cs index 41b37c841..d6c93d34c 100644 --- a/src/backend/function/Fusion.Resources.Functions/ServiceBus/QueueMessageProcessor.cs +++ b/src/backend/function/Fusion.Resources.Functions/ServiceBus/QueueMessageProcessor.cs @@ -61,7 +61,7 @@ public async Task ProcessWithRetriesAsync(ServiceBusReceivedMessage message, Fun { var retryMessage = new ServiceBusMessage(message); retryCount++; - var interval = 10 * retryCount; + var interval = 60 * retryCount; var scheduledTime = DateTimeOffset.Now.AddSeconds(interval); retryMessage.ApplicationProperties["retry-count"] = retryCount;