diff options
author | Giteabot <teabot@gitea.io> | 2023-12-12 00:28:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-11 16:28:27 +0000 |
commit | 1ec622db243ef97432989751f083d308fde7c2fb (patch) | |
tree | 2431961b1361f65f418e4c504383e11d17d4f11e /services | |
parent | 40d51188c039f6a674a37e67d0ea5504a7a3e282 (diff) | |
download | gitea-1ec622db243ef97432989751f083d308fde7c2fb.tar.gz gitea-1ec622db243ef97432989751f083d308fde7c2fb.zip |
Improve doctor cli behavior (#28422) (#28424)
Backport #28422 by wxiaoguang
1. Do not sort the "checks" slice again and again when "Register", it
just wastes CPU when the Gitea instance runs
2. If a check doesn't exist, tell the end user
3. Add some tests
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'services')
0 files changed, 0 insertions, 0 deletions