mirror of
https://github.com/201206030/novel-plus.git
synced 2025-04-27 01:30:51 +00:00
点击量计算优化
This commit is contained in:
parent
8fde3a3725
commit
9975faed01
@ -45,7 +45,7 @@ public class BookVisitAddListener {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 更新数据库
|
* 更新数据库
|
||||||
* 流量削峰,每本小说1个小时更新一次
|
* 流量削峰,每本小说累积10个点击更新一次
|
||||||
*/
|
*/
|
||||||
@SneakyThrows
|
@SneakyThrows
|
||||||
@RabbitListener(queues = {"UPDATE-DB-QUEUE"})
|
@RabbitListener(queues = {"UPDATE-DB-QUEUE"})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user