Browse Source

add test video

liqian 2 years ago
parent
commit
04d7833381
1 changed files with 4 additions and 0 deletions
  1. 4 0
      video_recall.py

+ 4 - 0
video_recall.py

@@ -1298,6 +1298,10 @@ class PoolRecall(object):
         #     'operation': 'rov_pool_recall_with_region',
         #     'executeTime': (time.time() - start_time) * 1000
         # })
+        # ######################### 写死在流量池中存在的视频,上报测试
+        recall_result = [
+            {'videoId': 1616949, 'rovScore': 100000,'pushFrom': 'recall_pool_test', 'abCode': self.ab_code}
+        ].extend(recall_result)
         return recall_result[:size]
 
     def rov_pool_recall_with_region(self, size=4, expire_time=24*3600):