diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-10-11 06:41:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-11 07:41:39 +0100 |
commit | c540ee08d322c5de41c014330434351fbd885d74 (patch) | |
tree | 2501c7d4bccc4a8c8f86d5e21b26b0b2937c6121 /build.go | |
parent | b59b0cad0a550223f74add109ff13c0d2f4309f3 (diff) | |
download | gitea-c540ee08d322c5de41c014330434351fbd885d74.tar.gz gitea-c540ee08d322c5de41c014330434351fbd885d74.zip |
Add Num{Issues,Pulls} stats checks (#21404)
- Currently `repository.Num{Issues,Pulls}` weren't checked and could
become out-of-consistency. Adds these two checks to `CheckRepoStats`.
- Fix incorrect SQL query for `repository.NumClosedPulls`, the check
should be for `repo_num_pulls`.
- Reference: https://codeberg.org/Codeberg/Community/issues/696
Diffstat (limited to 'build.go')
0 files changed, 0 insertions, 0 deletions