Skip to content

Simplify GraphNode #14908

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

Merged
merged 8 commits into from
Mar 20, 2023
Merged

Simplify GraphNode #14908

merged 8 commits into from
Mar 20, 2023

Conversation

0101
Copy link
Contributor

@0101 0101 commented Mar 15, 2023

The retryCompute = false mechanism, which is supposed to avoid repeating computation when the first requestor cancels, is unused. Deleting it makes it a bit easier to deal with GraphNode.

This PR also removes a lock and replaces it with Interlocked.Increment/Decrement.

@0101 0101 requested a review from a team as a code owner March 15, 2023 17:20
Copy link
Member

@psfinaki psfinaki left a comment

Choose a reason for hiding this comment

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

YAGNI FTW

@T-Gro
Copy link
Member

T-Gro commented Mar 20, 2023

Ready to merge?

@0101 0101 merged commit 1b5d9e4 into dotnet:main Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants