mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-12 12:26:51 +08:00
开启异步发送
This commit is contained in:
@@ -148,8 +148,10 @@ public class CasesRecommendPushRecordServiceImpl implements ICasesRecommendPushR
|
|||||||
casesRecommendPushRecordDao.saveList(pushRecords);
|
casesRecommendPushRecordDao.saveList(pushRecords);
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|
||||||
//发送推送案例消息
|
//发送推送案例消息
|
||||||
asyncSendCasesRecommendService.sendCasesRecommend(casesRecommend);
|
asyncSendCasesRecommendService.sendCasesRecommend(casesRecommend);
|
||||||
|
log.info("执行完成耗时 {} 秒 ", (System.currentTimeMillis() - t1) / 1000);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.error("推送失败", e);
|
log.error("推送失败", e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user