aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting/cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/cache.go')
-rw-r--r--modules/setting/cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/cache.go b/modules/setting/cache.go
index cbe73cf4e3..babb62baea 100644
--- a/modules/setting/cache.go
+++ b/modules/setting/cache.go
@@ -35,7 +35,7 @@ func newCacheService() {
case "redis", "memcache":
CacheService.Conn = strings.Trim(sec.Key("HOST").String(), "\" ")
default:
- log.Fatal(4, "Unknown cache adapter: %s", CacheService.Adapter)
+ log.Fatal("Unknown cache adapter: %s", CacheService.Adapter)
}
CacheService.TTL = sec.Key("ITEM_TTL").MustDuration(16 * time.Hour)