Commit 2084a92b authored by 郭羽's avatar 郭羽

美购精排模型耗时优化

parent 58f22a26
......@@ -311,6 +311,7 @@ def featuresToRedis(samples,columns,prefix,redisKey):
k = d[idCol]
v = json.dumps(d.asDict(), ensure_ascii=False)
newKey = redisKey + k
print(newKey,v)
# conn.set(newKey, v)
# conn.expire(newKey, 60 * 60 * 24 * 7)
......
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