Does ASP.NET App Unload Restarts/Stops HangFire?


For my ASP.NET Web Application, I would like to use HangFire as a background worker for long running processes, as in below documentation link:

But the processes I’m trying to get running can go from 3-7 hours.
So the ASP.NET app pool would recycle during that time (i.e. app unload).
My question is how does HangFire “BackgroundJobServer” handle that scenario?
Does it:

  • Fail the job due to app pool recycle and retry it?
    (which wouldn’t work since it’d just have another app pool recycle again), or
  • Continue working through the process, regardless of app pool recycle?