丁云鹏 il y a 1 an
Parent
commit
8554e1c319

+ 3 - 3
recommend-server-service/src/main/java/com/tzld/piaoquan/recommend/server/service/recall/strategy/AbstractRegionRecallStrategy.java

@@ -106,8 +106,8 @@ public abstract class AbstractRegionRecallStrategy implements RecallStrategy {
             redisTemplate.delete(lastVideoKey);
             poolKey = updateLastVideoRecord(recordKey, param);
         }
-        log.info("recall recordKey={}, record={}, poolKey={}, lastVideoKey={}, idx={}, ", recordKey, record, poolKey,
-                lastVideoKey, idx);
+//        log.info("recall recordKey={}, record={}, poolKey={}, lastVideoKey={}, idx={}, ", recordKey, record, poolKey,
+//                lastVideoKey, idx);
         if (StringUtils.isBlank(poolKey)) {
             return null;
         }
@@ -172,7 +172,7 @@ public abstract class AbstractRegionRecallStrategy implements RecallStrategy {
         int sizeReturn = param.getSize();
         if (abCode != null && this.regionRecallReturnSize != null &&
                 this.regionRecallReturnSize.containsKey(abCode) &&
-                this.regionRecallReturnSize.get(abCode) != null ){
+                this.regionRecallReturnSize.get(abCode) != null) {
             sizeReturn = this.regionRecallReturnSize.get(abCode).getOrDefault(pushFrom, sizeReturn);
         }