Commit 4b8c5046 authored by 段英荣's avatar 段英荣

modify

parent 7b1fa1ed
...@@ -23,8 +23,7 @@ class PickUtils(object): ...@@ -23,8 +23,7 @@ class PickUtils(object):
valid_seconds = int((end_time - now).seconds) valid_seconds = int((end_time - now).seconds)
logging.info("duan add,valid_seconds:type:%s,val:%d" % (type(valid_seconds),valid_seconds)) redis_cli.setex(redis_key,valid_seconds,json.dumps(have_read_celebrity_list))
redis_cli.setex(redis_key,json.dumps(have_read_celebrity_list),valid_seconds)
return True return True
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