azure-functions-host
azure-functions-host copied to clipboard
Improve Background Service Infra
What problem would the feature you're requesting solve? Please describe.
In this ICM, the TokenExpirationService error'ed out due to a parsing error which caused the entire app to go down. This should not be the case, so we should consider refactoring our background service infra.
Describe the solution you'd like
Have a background service infra that all background services can implement which allows them to overload some APIs and ensure that it will not crash.
Describe alternatives you've considered
Fixing the TokenExpirationService by adding a try/catch, but ideally all background services should have similar infra for error catching.