Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Sync project level info in parallel. #72976
Sync project level info in parallel. #72976
Changes from 15 commits
da8d7e0
9829da1
3552d4b
6377536
d150afd
a255fa8
6d82a4b
87de924
046d435
c8b9a0f
d140c85
f82f5ad
58ae336
ee6ce0a
1033273
c63c074
cdc412a
2439f04
939b9c4
357bfeb
c808509
542020e
170a0d3
4c8be11
bd55071
bc626e2
6cbd1b5
e15a73c
69528e5
21ae618
510331c
d8eb43a
92654f4
afb12f6
d49c484
dc8ed7b
5b3db93
8929756
38902cf
2a39c5c
4304094
b4efb7f
e91b985
6142d02
9cdb0bc
c9193fd
84e2b7a
633f604
b044039
5569fb5
2ff97df
10f5b5e
9c9f17b
1229821
06dd3e5
4639794
b7638f6
ec5ad04
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
this code was duplicating exactly what projectStateChecksums.FindAsync already does. We just want to be able to search projects, just without a particular project-id provided. so this now defers to that helper to do that. thanks the enum values this is easy.
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.
i upped this as i was gonig over 256 a fair bit (easy when we have 900 projects in roslyn alone).
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.
Any concern about a potential large increase in cancellation exceptions?
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.
Can cross that bridge if it happens :-)
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.
this is almost the same as the prior method. just the primary method says "we have one checksum of a particular type per project" whereas thsi method says "we have many checksums of a particular type per project".
Note; lots of checksums will be duplicated across projects (like metadata and analyzer references) so thsi hashset dedupes a lot most of the time.