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

judge allowRollback first to improve performance #1466

Closed
wants to merge 0 commits into from

Conversation

blueskygzhz
Copy link
Contributor

No description provided.

@henryzhx8
Copy link
Collaborator

麻烦说明一下变动的背景

@blueskygzhz
Copy link
Contributor Author

allowRollback 为false的请求下应该直接返回size, 现在的实现是先从后往前做一遍看有没有不完整json数据,然后再判定allowRollback , 做了很多无用功,cpu消耗比较严重

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.

None yet

2 participants