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

Break out of group commit early. #341

Merged
merged 1 commit into from
Jul 12, 2019
Merged

Break out of group commit early. #341

merged 1 commit into from
Jul 12, 2019

Conversation

banks
Copy link
Member

@banks banks commented Jun 20, 2019

This is a very minor optimisation to not waste a few cycles re-checking the applyCh for new logs up to 64 times when none are present. Thanks to @weiwei04 in #153 for pointing it out.

This is a very minor optimisation to not waste a few cycles re-checking the applyCh for new logs up to 64 times when none are present. Thanks to @weiwei04 in #153 for pointing it out.
Copy link
Member

@hanshasselberg hanshasselberg left a comment

Choose a reason for hiding this comment

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

:shipit:

@banks banks merged commit 8ca366b into master Jul 12, 2019
@banks banks deleted the group-commit-break branch July 12, 2019 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants