linfan hace 1 año
padre
commit
c7ab809203
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5 5
      video_recall.py

+ 5 - 5
video_recall.py

@@ -2368,16 +2368,16 @@ class PoolRecall(object):
         if self.video_id is None:
             return  []
         recall_key = "hot_3day:"
-        # 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 = []
         recall_dict  = {}
         video_ids = []
         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:
                 try:
                     vid = int(per_item[0])
@@ -2406,10 +2406,10 @@ class PoolRecall(object):
         if self.video_id is None:
             return  []
         recall_key = "hot_7day:"
-        # 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 = []
         recall_dict  = {}
         video_ids = []