Commit a5a48ebd authored by 段英荣's avatar 段英荣

Merge branch 'dev' into 'master'

modify expire time

See merge request !85
parents d194ce29 ba349772
...@@ -118,7 +118,7 @@ def get_home_recommend_topic_ids(user_id,device_id,offset,size,query=None,query_ ...@@ -118,7 +118,7 @@ def get_home_recommend_topic_ids(user_id,device_id,offset,size,query=None,query_
} }
redis_client.hmset(redis_key,redis_dict) redis_client.hmset(redis_key,redis_dict)
# 每个session key保存15分钟 # 每个session key保存15分钟
redis_client.expire(redis_key,15*60*60) redis_client.expire(redis_key,15*60)
return recommend_topic_ids return recommend_topic_ids
except: except:
......
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