diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index 9af1f80669..d2cd1e6642 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1757,6 +1757,7 @@ config.cache_config = Cache Configuration config.cache_adapter = Cache Adapter config.cache_interval = Cache Interval config.cache_conn = Cache Connection +config.cache_item_ttl = Cache Item TTL config.session_config = Session Configuration config.session_provider = Session Provider 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 diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl index 23a68caa8e..b4fcb4d610 100644 --- a/templates/admin/config.tmpl +++ b/templates/admin/config.tmpl @@ -233,11 +233,15 @@
{{.CacheConn}}
{{.CacheItemTTL}}