Azure / Azure/azure-functions-host

Clean up usage of IsPlaceholderModeEnabled and InStandbyMode

Open
#4,368 0 comments 0 reactions 1 assignee Claimed by @mhoeger View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.