1
0
Fork 0
forked from forgejo/forgejo

fix config ui error about cache ttl (#6861)

This commit is contained in:
Lunny Xiao 2019-05-06 22:35:11 +08:00 committed by Lauris BH
parent 5d5eae6aea
commit 01ebd52a1f
3 changed files with 6 additions and 0 deletions

View file

@ -234,6 +234,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