]> source.dussan.org Git - gitea.git/commit
Separate open and closed issue in metrics (#16637)
authorRomain <romdum@users.noreply.github.com>
Sat, 7 Aug 2021 09:43:50 +0000 (11:43 +0200)
committerGitHub <noreply@github.com>
Sat, 7 Aug 2021 09:43:50 +0000 (12:43 +0300)
commit14762abf0bebc57d355cf763c248cca4cbb60043
tree8b8c53fc6ff5615fc7e4b476c121bed5b4068496
parent620c5690ea509f54af24d983060f0897c9ada09b
Separate open and closed issue in metrics (#16637)

* Get the issue counts in one query

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Andrew Thornton <art27@cantab.net>
models/models.go [changed mode: 0644->0755]
modules/metrics/collector.go [changed mode: 0644->0755]