Commit bca7a7f0 authored by 段英荣's avatar 段英荣

add batch_recommend_user

parent fee3b7d0
...@@ -5,6 +5,7 @@ import logging ...@@ -5,6 +5,7 @@ import logging
import traceback import traceback
import json import json
import time import time
import copy
from libs.es import ESPerform from libs.es import ESPerform
...@@ -194,7 +195,7 @@ class UserUtils(object): ...@@ -194,7 +195,7 @@ class UserUtils(object):
for interesting_user_id in interesting_user_item_dict: for interesting_user_id in interesting_user_item_dict:
if interesting_user_id != self_user_id: if interesting_user_id != self_user_id:
logging.info("duan add,interesting_user_id:%d" % interesting_user_id) logging.info("duan add,interesting_user_id:%d" % interesting_user_id)
filter_user_id_list = need_filter_attention_user_id_list filter_user_id_list = copy.deepcopy(need_filter_attention_user_id_list)
filter_user_id_list.append(interesting_user_id) filter_user_id_list.append(interesting_user_id)
q = dict() q = dict()
......
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