Skip to content
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 the logic of DatabaseMessageSender. #4809

Merged
merged 80 commits into from
Mar 21, 2023

Conversation

klboke
Copy link
Contributor

@klboke klboke commented Mar 20, 2023

What's the purpose of this PR

  • Add logging for when the queue is full and enqueueing fails in DatabaseMessageSender.

  • Fix the issue of stopClean() method not being called.

klboke and others added 30 commits May 16, 2019 11:07
klboke and others added 23 commits September 22, 2022 16:19
@codecov
Copy link

codecov bot commented Mar 20, 2023

Codecov Report

Merging #4809 (468c415) into master (196c8f9) will decrease coverage by 0.10%.
The diff coverage is 33.33%.

@@             Coverage Diff              @@
##             master    #4809      +/-   ##
============================================
- Coverage     47.33%   47.23%   -0.10%     
+ Complexity     1662     1660       -2     
============================================
  Files           346      346              
  Lines         10684    10685       +1     
  Branches       1064     1065       +1     
============================================
- Hits           5057     5047      -10     
- Misses         5319     5329      +10     
- Partials        308      309       +1     
Impacted Files Coverage Δ
...work/apollo/biz/message/DatabaseMessageSender.java 53.06% <33.33%> (-3.19%) ⬇️

... and 1 file with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@nobodyiam nobodyiam left a comment

Choose a reason for hiding this comment

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

LGTM

@nobodyiam nobodyiam merged commit a441b6b into apolloconfig:master Mar 21, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 21, 2023
@klboke klboke deleted the message branch March 21, 2023 03:50
@nobodyiam nobodyiam added this to the 2.2.0 milestone Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants