Commit 1ba9fdbd authored by lixiaofang's avatar lixiaofang

add

parent d6688a32
...@@ -239,7 +239,6 @@ class QueryWordAttr(object): ...@@ -239,7 +239,6 @@ class QueryWordAttr(object):
if type_v1: if type_v1:
key = "save_sub_query_to_redis_v1" key = "save_sub_query_to_redis_v1"
redis_data = redis_client.get(key) redis_data = redis_client.get(key)
redis_client.expire(key)
if redis_data: if redis_data:
redis_data = json.loads(str(redis_data, encoding="utf8")) redis_data = json.loads(str(redis_data, encoding="utf8"))
if lower_query in redis_data: if lower_query in redis_data:
......
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