-
Notifications
You must be signed in to change notification settings - Fork 283
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
pipeline: reduce tick message in-use objects #2226
Conversation
Signed-off-by: Neil Shen <overvenus@gmail.com>
@@ -64,11 +64,15 @@ func BarrierMessage(barrierTs model.Ts) *Message { | |||
} | |||
} | |||
|
|||
// TickMessage is called frequently, | |||
// to ease GC pressure we return a global variable. | |||
var tickMsg *Message = &Message{ |
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.
Please add a comment about this var is readonly
Signed-off-by: Neil Shen <overvenus@gmail.com>
/run-all-tests |
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: e991deb
|
/run-integration-tests |
1 similar comment
/run-integration-tests |
In response to a cherrypick label: new pull request created: #2231. |
In response to a cherrypick label: new pull request created: #2232. |
In response to a cherrypick label: new pull request created: #2233. |
What problem does this PR solve?
Reduce tick message in-use objects.
Cc: #2212
Check List
Tests
Related changes
Release note