点击量计算优化

This commit is contained in:
xxy 2020-05-26 02:27:39 +08:00
parent 8fde3a3725
commit 9975faed01

View File

@ -45,7 +45,7 @@ public class BookVisitAddListener {
/** /**
* 更新数据库 * 更新数据库
* 流量削峰每本小说1个小时更新一次 * 流量削峰每本小说累积10个点击更新一次
*/ */
@SneakyThrows @SneakyThrows
@RabbitListener(queues = {"UPDATE-DB-QUEUE"}) @RabbitListener(queues = {"UPDATE-DB-QUEUE"})