Explorar el Código

Merge branch 'feature_20250529_zhaohaipeng_festive' of algorithm/recommend-server into master

zhaohaipeng hace 1 semana
padre
commit
f69fef08f0

+ 1 - 1
recommend-server-service/src/main/java/com/tzld/piaoquan/recommend/server/service/flowpool/FlowPoolService.java

@@ -174,7 +174,7 @@ public class FlowPoolService {
             // 从流量池缓存中移除达到分发次数限制的视频ID
             String itemKey = String.format(RedisKeyConstants.DouHot.ITEM_REDIS_KEY_FORMAT, province, "1");
             log.info("[DouHot view distribute count remove cache] key: {}, item: {}", itemKey, needRemoveVideoIds);
-            redisTemplate.opsForSet().remove(itemKey, needRemoveVideoIds.toArray());
+            redisTemplate.opsForZSet().remove(itemKey, needRemoveVideoIds.toArray());
         });
     }