|
@@ -27,8 +27,6 @@ async def video_recommend(mid, uid, size, app_type, algo_type):
|
|
|
# ####### 多进程召回
|
|
|
start_recall = time.time()
|
|
|
log_.info('====== recall')
|
|
|
- cores = multiprocessing.cpu_count()
|
|
|
- pool = multiprocessing.Pool(processes=cores)
|
|
|
pool_recall = PoolRecall(app_type=app_type, mid=mid, uid=uid, ab_code=ab_code)
|
|
|
_, last_rov_recall_key, _ = await pool_recall.get_video_last_idx()
|
|
|
|