浏览代码

update video_recall

linfan 1 年之前
父节点
当前提交
29a1cec59c
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      video_recall.py

+ 4 - 4
video_recall.py

@@ -2211,7 +2211,7 @@ class PoolRecall(object):
         recall_result = []
         if data is not None:
             json_result = json.loads(data)
-            print("json_result:", json_result)
+            #print("json_result:", json_result)
             for per_item in json_result:
                 recall_result.append(
                     {'videoId': per_item[0], 'flowPool': '',
@@ -2223,13 +2223,13 @@ class PoolRecall(object):
     def get_flow_pool_recall(self, size=4):
         """流量池召回视频"""
         recall_key = f"{config_.FLOWPOOL_KEY_NAME_PREFIX}{self.app_type}"
-        print("recall_key:", recall_key)
+        #print("recall_key:", recall_key)
         data = self.redis_helper.get_data_from_redis(key_name=recall_key)
-        print(data)
+        #print(data)
         recall_result = []
         if data is not None:
             json_result = json.loads(data)
-            print("json_result:", json_result)
+            #print("json_result:", json_result)
             for per_item in json_result:
                 recall_result.append(
                     {'videoId': per_item[0], 'flowPool': '',