Azure / Azure/azure-functions-host
Improve Background Service Infra
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
#### What problem would the feature you're requesting solve? Please describe.
In [this ICM](https://portal.microsofticm.com/imp/v3/incidents/incident/427441884/summary), 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.
Contributor guide
Assessment
This issue has not been assessed yet.