From 04796a04717dda56d3249a5e8dc87701a79c7df9 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Wed, 11 Dec 2024 10:56:59 +0100 Subject: [PATCH] Increase default TTL for bookmark queue items to 1 minute. Updated the default Time-to-Live (TTL) from 10 seconds to 1 minute to allow bookmark queue items to persist longer. This change provides more flexibility and reduces the likelihood of premature purging in workflows. --- .../Elsa.Workflows.Runtime/Options/BookmarkQueuePurgeOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/Elsa.Workflows.Runtime/Options/BookmarkQueuePurgeOptions.cs b/src/modules/Elsa.Workflows.Runtime/Options/BookmarkQueuePurgeOptions.cs index 0c765563a..b217082f5 100644 --- a/src/modules/Elsa.Workflows.Runtime/Options/BookmarkQueuePurgeOptions.cs +++ b/src/modules/Elsa.Workflows.Runtime/Options/BookmarkQueuePurgeOptions.cs @@ -8,7 +8,7 @@ public class BookmarkQueuePurgeOptions /// /// The time-to-live for bookmark queue items. /// - public TimeSpan Ttl { get; set; } = TimeSpan.FromSeconds(10); + public TimeSpan Ttl { get; set; } = TimeSpan.FromMinutes(1); /// /// The number of records to clean up per sweep.