Files
Heimdall/src/Heimdall.Infrastructure/Jobs/NotificationDeliveryJob.cs
T
Arnaud Dartois 71e869a011
Heimdall Gitea / Build and scan server image (pull_request) Canceled after 0s
Heimdall Gitea / Build and scan agent image (pull_request) Canceled after 0s
Heimdall Gitea / Publish Docker Hub latest tags (pull_request) Canceled after 0s
Heimdall Gitea / Publish versioned release (pull_request) Canceled after 0s
Heimdall Gitea / Build and tests (pull_request) Canceled after 43s
feat(notifications): persist external deliveries in outbox
2026-10-24 22:27:53 +02:00

12 lines
401 B
C#

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);
}