-
Notifications
You must be signed in to change notification settings - Fork 771
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
Optimize event handler performance for PodUnavailableBudget #1027
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1027 +/- ##
=======================================
Coverage 49.67% 49.67%
=======================================
Files 124 124
Lines 12088 12090 +2
=======================================
+ Hits 6005 6006 +1
- Misses 5165 5167 +2
+ Partials 918 917 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
774f788
to
432725f
Compare
pps := p.fetchPersistentPodState(newPod) | ||
if pps == nil { | ||
return | ||
} | ||
if !isPodValidChanged(oldPod, newPod) { |
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.
why change the ordering?
Signed-off-by: FillZpp <FillZpp.pub@gmail.com>
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
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FillZpp The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…se#1027) Signed-off-by: FillZpp <FillZpp.pub@gmail.com> Signed-off-by: Liu Zhenwei <zwliu@thoughtworks.com>
Signed-off-by: FillZpp FillZpp.pub@gmail.com
Ⅰ. Describe what this PR does
Optimize event handler performance for PodUnavailableBudget.