Commit 20e53d70 authored by lixiaofang's avatar lixiaofang

add

parent 5499e5d1
......@@ -19,9 +19,7 @@ class UserTransfer(object):
follow_user_id_list.append(user_follow.follow_id)
follow_user_detail_list = list()
logging.info("get follow_user_id_list :%s "%follow_user_id_list)
for i in range(0, len(follow_user_id_list), 1000):
logging.info("get follow_user_id_list[i:i + 1000] " % follow_user_id_list[i:i+1000])
sql_data_list = User.objects.filter(user_id__in=follow_user_id_list[i:i + 1000], is_online=True,
is_deleted=False)
for detail_data in sql_data_list:
......
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