-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove weakref that telemetry indicates has no impact at all. #57803
Conversation
: new WeakValueSource<AssemblyMetadata>(newMetadata); | ||
|
||
if (!_metadataCache.GetOrAddMetadata(key, metadataValueSource, out metadata)) | ||
if (!_metadataCache.GetOrAddMetadata(key, new ConstantValueSource<Optional<AssemblyMetadata>>(newMetadata), out metadata)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
metadata cache still uses RecoverableMetadataValueSource below. so we need to keep this as a ValueSource.
@CyrusNajmabadi Were you expecting this PR to include code changes? |
No. I believe all the changes went in with #58212. Not sure why this didn't close out entirely. |
AB experiment shows no significant impact of this code decision on any metrics:
We had 450 people reporting around 150k telemetry points. No regressions found.