Commit 7dfd0d48 authored by 郭羽's avatar 郭羽

美购精排模型耗时优化

parent 2084a92b
......@@ -306,7 +306,7 @@ def featuresToRedis(samples,columns,prefix,redisKey):
timestampCol = idCol+"_timestamp"
def toRedis(datas):
conn = connUtils.getRedisConn()
# conn = connUtils.getRedisConn()
for d in datas:
k = d[idCol]
v = json.dumps(d.asDict(), ensure_ascii=False)
......
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