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

[Improve][TubeMQ] Optimize FlowCtrlRuleHandler.updateFlowCtrlInfo() #6038

Closed
2 tasks done
gosonzhang opened this issue Sep 27, 2022 · 0 comments · Fixed by #6039
Closed
2 tasks done

[Improve][TubeMQ] Optimize FlowCtrlRuleHandler.updateFlowCtrlInfo() #6038

gosonzhang opened this issue Sep 27, 2022 · 0 comments · Fixed by #6039

Comments

@gosonzhang
Copy link
Contributor

Description

  1. In the updateFlowCtrlInfo() function, simplify the judgment logic to avoid multiple layers of nesting, and at the same time, print the log after the writeLock is unlocked, to avoid the writeLock being held for too long;
  2. Optimize the call point of updateFlowCtrlInfo() function
  3. Other detailed optimizations

InLong Component

InLong TubeMQ

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants