I am using Hangfire v 1.6.12 for sending emails on background. I have setup apm tool against the application and the tool is frequently logging exceptions:
“System.OperationCanceledException: The operation was canceled.” for each class: Hangfire.Server.EveryMinuteThrottler,Hangfire.Server.RecurringJobScheduler,Hangfire.Server.AutomaticRetryProcess.

I was wondering how do I setup/configure Automatic retry process to only retry if job failed OR Any other configuration techniques that can avoid these exceptions throw up?