release: improve page load performance

Previously, we load all releases of a repository which could hurt
performance when the repository has a lot of releases.

Now we're able to only load releases in current page view we need
to show by matching with 'tag_name'.
This commit is contained in:
Unknwon
2017-03-10 14:12:46 -05:00
parent 22882d7c04
commit 451aef7a1c
7 changed files with 120 additions and 75 deletions

View File

@@ -16,7 +16,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.10.12.0309"
const APP_VER = "0.10.12.0310"
func init() {
setting.AppVer = APP_VER