Is there a way to prevent processing of additional jobs in a queue if there is a job in retry for the same queue?
enqueue Job1 () => account.Update(500)
enqueue Job2 () => account.Update(-100)
enqueue Job3 () => account.Update(-100)
If Job1 fails for whatever reason, I don’t want Job2 and Job3 to process until Job1 becomes successful or exceeds retry count.
I’d prefer not to have Job2 and Job3 fail and go into retry with it if that’s an option.
Setting PerformingContext Canceled = true in OnPerforming() in a JobFilterAttribute just seemed to tell a job it was successful.