Commit 3182ed43 authored by strong's avatar strong

Merge branch 'remould_1120_spreadchain' into SANDBOX

parents 2678facf 7b22e786
......@@ -1154,8 +1154,8 @@ router.get('/thread/:tid/spreadchainByRedis', function(req, res, next) {
data.children = childrens;
//put data into redis
var key = tid + "_spreadchain"
console.log("spreadchain data=" + data);
//var key = tid + "_spreadchain"
var key = "sc_forum_thread_" + tid;
redis.set(key,JSON.stringify(data));
redis.expire(key,60);
......
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