namespace Elsa.Workflows.Runtime.Options; /// /// Options for purging the bookmark queue. /// public class BookmarkQueuePurgeOptions { /// /// The time-to-live for bookmark queue items. /// public TimeSpan Ttl { get; set; } = TimeSpan.FromMinutes(1); /// /// The number of records to clean up per sweep. /// public int BatchSize { get; set; } = 1000; /// /// The maximum number of failed delivery attempts before a queue item is moved to the dead-letter store. /// public int MaxDeliveryAttempts { get; set; } = 3; /// /// The time-to-live for bookmark queue dead-letter items. /// public TimeSpan DeadLetterTtl { get; set; } = TimeSpan.FromDays(7); }