Azure / Azure/azure-functions-host
Clean up usage of IsPlaceholderModeEnabled and InStandbyMode
Open
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
We've got several ways to check if we're in placeholder mode and most of them check env vars directly. This can lead to nasty race conditions. We should be storing this value as the host starts and using the stored value. I believe the only service that should be checking env vars directly is the Standby service that is in charge of specialization.
We need to have a solid way to check this during initialization and runtime.
Contributor guide
Assessment
This issue has not been assessed yet.