app: fix redis config

This commit is contained in:
DIYgod
2018-05-16 01:29:01 +08:00
parent 16c32f7824
commit 7ca103ad10
+1
View File
@@ -53,6 +53,7 @@ if (config.cacheType === 'memory') {
redisCache({
expire: config.cacheExpire,
ignoreQuery: true,
redis: config.redis,
onerror: (e) => {
logger.error('Redis error: ', e);
},