Commit 75ec6c2c authored by 刘基明's avatar 刘基明

topic锁

parent ae7e75b1
......@@ -219,7 +219,10 @@ public class RankService {
.collect(Collectors.toList());
//落库
if (redisCache.setIfAbsent("logTopicRank", "1", 60)) {
rankLogService.logTopicRank(rankList, start, TimeUtils.calMillisTillNow(start));
redisCache.evict("logTopicRank");
}
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment