-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Use queue#take instead of poll #3765
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3765 +/- ##
============================================
- Coverage 50.12% 50.11% -0.02%
+ Complexity 2442 2440 -2
============================================
Files 479 479
Lines 14810 14807 -3
Branches 1504 1503 -1
============================================
- Hits 7423 7420 -3
+ Misses 6866 6865 -1
- Partials 521 522 +1
Continue to review full report at Codecov.
|
please update the CHANGES.md |
what does |
CHANGES.md
Outdated
@@ -46,6 +46,7 @@ Apollo 1.9.0 | |||
* [feat(apollo-client): add method interestedChangedKeys to ConfigChangeEvent](https://github.com/ctripcorp/apollo/pull/3666) | |||
* [add More... link for known users](https://github.com/ctripcorp/apollo/pull/3757) | |||
* [update OIDC documentation](https://github.com/ctripcorp/apollo/pull/3766) | |||
* [Use queue#take instead of poll to avoid cs](https://github.com/ctripcorp/apollo/pull/3765) |
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 noticed you changed the title, we need to also update the description in the changes.md.
btw, does cs mean context switch
?
* [Use queue#take instead of poll to avoid cs](https://github.com/ctripcorp/apollo/pull/3765) | |
* [Use queue#take instead of poll](https://github.com/ctripcorp/apollo/pull/3765) |
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.
Yes, so I think it's no need to poll and then sleep.
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.
lgtm
Fix #3764