diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-05-06 22:35:11 +0800 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-05-06 17:35:11 +0300 |
commit | 01ebd52a1fa2a5a71ff6609f04c3338e7e4795d4 (patch) | |
tree | 5209d0d7b10a2e277e64465982e855d53279e162 /routers/admin/admin.go | |
parent | 5d5eae6aea258093379be6eab0a83b518e67d446 (diff) | |
download | gitea-01ebd52a1fa2a5a71ff6609f04c3338e7e4795d4.tar.gz gitea-01ebd52a1fa2a5a71ff6609f04c3338e7e4795d4.zip |
fix config ui error about cache ttl (#6861)
Diffstat (limited to 'routers/admin/admin.go')
-rw-r--r-- | routers/admin/admin.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 |