From 01ebd52a1fa2a5a71ff6609f04c3338e7e4795d4 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Mon, 6 May 2019 22:35:11 +0800 Subject: fix config ui error about cache ttl (#6861) --- routers/admin/admin.go | 1 + 1 file changed, 1 insertion(+) (limited to 'routers/admin/admin.go') diff --git a/routers/admin/admin.go b/routers/admin/admin.go index 92df194b78..7b8422fc61 100644 --- a/routers/admin/admin.go +++ b/routers/admin/admin.go @@ -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 -- cgit v1.2.3