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
12 lines
401 B
C#
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);
|
|
}
|