Skip to content

fix concurrency issue with GithubMetadata provider #3086

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 1 commit into from
Dec 2, 2020

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Dec 2, 2020

motivation: fixes race condition

changes:

  • remove redundant queue
  • change return/callback logic to update the result set and deal with errors in a non-racy way

motivation: fixes race condition

changes:
* remove redundant queue
* change return/callback logic to update the result set and deal with errors in a non-racy way
@tomerd
Copy link
Contributor Author

tomerd commented Dec 2, 2020

@swift-ci please smoke test

Copy link
Contributor

@abertelrud abertelrud left a comment

Choose a reason for hiding this comment

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

LGTM

@tomerd
Copy link
Contributor Author

tomerd commented Dec 2, 2020

@swift-ci please smoke test

@tomerd tomerd merged commit c68fd5b into swiftlang:main Dec 2, 2020
federicobucchi pushed a commit to federicobucchi/swift-package-manager that referenced this pull request Jan 6, 2021
motivation: fixes race condition

changes:
* remove redundant queue
* change return/callback logic to update the result set and deal with errors in a non-racy way
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