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

Divide GetIssueStats query in smaller chunks (#10176) #10282

Merged
merged 1 commit into from Feb 15, 2020

Conversation

@guillep2k
Copy link
Member

guillep2k commented Feb 15, 2020

Backport of #10176

  • Divide GetIssueStats query in smaller chunks

  • Skip chunking if count is low enough

  • Define maxQueryParameters

  • Remove absMaxQueryParameters because of lint

Co-authored-by: Lunny Xiao xiaolunwen@gmail.com
Co-authored-by: zeripath art27@cantab.net
Co-authored-by: Lauris BH lauris@nix.lv

* Divide GetIssueStats query in smaller chunks

* Skip chunking if count is low enough

* Fix lint

* Define maxQueryParameters

* Remove absMaxQueryParameters because of lint

* Restart CI

* Restart CI

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
@lafriks lafriks added the kind/bug label Feb 15, 2020
@lafriks lafriks added this to the 1.11.1 milestone Feb 15, 2020
@6543
6543 approved these changes Feb 15, 2020
@GiteaBot GiteaBot added lgtm/done and removed lgtm/need 1 labels Feb 15, 2020
@lafriks lafriks merged commit 5525452 into go-gitea:release/v1.11 Feb 15, 2020
2 checks passed
2 checks passed
approvals/lgtm this commit looks good
continuous-integration/drone/pr Build is passing
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.