Commit 6d269ab7 authored by 赵威's avatar 赵威

change city

parent 42e3df68
from utils.cache import redis_client4
def predict_with_city_changed():
key = "doris:user_portrait:city_changed:device:queue"
total = redis_client4.llen(key)
while (total > 0):
device_id = redis_client4.lpop(key)
print(device_id)
if __name__ == "__main__":
predict_with_city_changed()
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