14 lines
487 B
Plaintext
14 lines
487 B
Plaintext
using Hangfire;
|
|
|
|
public sealed class __JOB__(IJobRunRepository runs, IClock clock)
|
|
{
|
|
[Queue("__QUEUE__")]
|
|
[AutomaticRetry(Attempts = 0)] // retry policy is explicit and evidence-driven
|
|
public async Task ExecuteAsync(JobCommand command, CancellationToken ct)
|
|
{
|
|
// TryStart(idempotency/scope/version/hash) → heartbeat → work → Complete.
|
|
// No current-value overwrite; reprocess creates a revision.
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|