|
@@ -141,6 +141,7 @@ public class RecommendService {
|
|
|
updateCache(request, param, videos);
|
|
|
long updateCacheTime = stopwatch.elapsed(TimeUnit.MILLISECONDS);
|
|
|
timerLogMapTL.get().put("updateCacheTime", updateCacheTime);
|
|
|
+ timerLogMapTL.get().put("abCodeFake", param.getAbCode());
|
|
|
timerLogService.log(timerLogMapTL.get());
|
|
|
logStatisticsInfo(request, param, videos);
|
|
|
// 更新position
|
|
@@ -495,7 +496,7 @@ public class RecommendService {
|
|
|
private List<Video> videoRecommend(RecommendParam param) {
|
|
|
Stopwatch stopwatch = Stopwatch.createStarted();
|
|
|
RecallResult recallResult = recallService.recall(convertToRecallParam(param));
|
|
|
-
|
|
|
+
|
|
|
long recallTime = stopwatch.elapsed(TimeUnit.MILLISECONDS);
|
|
|
timerLogMapTL.get().put("recallTime", recallTime);
|
|
|
log.info("recallResult={}, videoRecommend recallResult cost={}", recallResult, recallTime);
|