Commit dd1f4649 authored by 李小芳's avatar 李小芳

Merge branch 'change' into 'master'

add

See merge request !83
parents 7a1a3276 1ba9fdbd
...@@ -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