引入rabbitmq流量削峰,累积点击量后统一更新

This commit is contained in:
xiongxiaoyang
2020-05-25 21:06:51 +08:00
parent 5dbddbdd96
commit e4dd5bcb71
10 changed files with 197 additions and 7 deletions

View File

@ -55,4 +55,14 @@ public interface CacheKey {
* 搜索引擎转换锁
* */
String ES_TRANS_LOCK = "esTransLock";
/**
* 上一次搜索引擎是否更新过小说点击量
* */
String ES_IS_UPDATE_VISIT = "esIsUpdateVisit";
/**
* 累积的小说点击量
* */
String BOOK_ADD_VISIT_COUNT = "bookAddVisitCount";
}

View File

@ -28,9 +28,6 @@ spring:
pic:
save:
type: 2 #图片保存方式, 1不保存使用网络图片 2本地保存