using Hangfire; using Heimdall.Infrastructure.Services; namespace Heimdall.Infrastructure.Jobs; public sealed class NotificationDeliveryJob(NotificationDeliveryProcessor processor) { [AutomaticRetry(Attempts = 3, OnAttemptsExceeded = AttemptsExceededAction.Fail)] public Task ExecuteAsync(Guid deliveryId, CancellationToken ct = default) => processor.ProcessAsync(deliveryId, ct); }