1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-03 09:07:19 +00:00

fix config ui error about cache ttl (#6861) (#6865)

This commit is contained in:
Lunny Xiao
2019-05-07 00:18:17 +08:00
committed by Lauris BH
parent 96eb99ea55
commit 476ca67cd4
3 changed files with 6 additions and 0 deletions

View File

@ -232,6 +232,7 @@ func Config(ctx *context.Context) {
ctx.Data["CacheAdapter"] = setting.CacheService.Adapter
ctx.Data["CacheInterval"] = setting.CacheService.Interval
ctx.Data["CacheConn"] = setting.CacheService.Conn
ctx.Data["CacheItemTTL"] = setting.CacheService.TTL
ctx.Data["SessionConfig"] = setting.SessionConfig