Skip to content

Added DfMonDisableNewParentIdResolutionAlgorithm feature switch#269

Merged
scale-tone merged 1 commit into
mainfrom
scale-tone/fixing-parentInstanceId3
Jul 24, 2025
Merged

Added DfMonDisableNewParentIdResolutionAlgorithm feature switch#269
scale-tone merged 1 commit into
mainfrom
scale-tone/fixing-parentInstanceId3

Conversation

@scale-tone

Copy link
Copy Markdown
Contributor

@scale-tone scale-tone merged commit 112d567 into main Jul 24, 2025
2 checks passed
// Also need to put it under a feature switch, as it still might be a performance issue

string featureFlags = Environment.GetEnvironmentVariable(EnvVariableNames.AzureWebJobsFeatureFlags);
bool isDisabled = featureFlags.Contains(Globals.DfMonDisableNewParentIdResolutionAlgorithm);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry @scale-tone, just noticed that featureFlags should be null when env variable is missing. It should be checked

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're totally right, @RemyBoyer , thanks! Pushed a fix as a separate PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants