Commit 0565065a authored by 张彦钊's avatar 张彦钊

change test file

parent aee2c278
......@@ -89,7 +89,7 @@ def write_redis(device_id,cid_list):
r.set(key, json.dumps(cids))
else:
r.set(key, json.dumps(cids))
r.expire(key, 6)
r.expire(key, 60*60)
return "good"
except Exception as e:
......
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