I’m using Hangfire to manage some long-running jobs within a .Net Web App but they keep getting cancelled after 30 minutes or so. I’ve set the code up to use cancellation tokens so that users can cancel the jobs gracefully if needed.
Elmah logs an exception as follows
Hangfire.Server.JobAbortedException: The operation was canceled.
Is this an IIS setting I need to alter somewhere? It’s a little suspicious that 30 minutes comes round and the cancellation is thrown.