Commit bfda1055 authored by 陈志良's avatar 陈志良

Merge branch 'remould_0727_topic_cache' into SANDBOX

parents 5c862144 ea0674fe
......@@ -2443,8 +2443,8 @@ router.get('/thread/:tid/get/subThreads/:type', function(req, res, next) {
var handleThreadListBegin = new Date();
handleThreadList(req, results, ent_code, function(result){
console.log("查询用户对帖子点赞耗时:"+Math.abs(new Date() - handleThreadListBegin));
redis.set(key, _.assign(result, returnCode.SUCCESS));
redis.expire(key, 2);
redis.set(key, result);
redis.expire(key, 5);
res.json(_.assign(result, returnCode.SUCCESS));
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment