1. 优化 menu 本地缓存的刷新策略,在修改或删除菜单时,强制刷新缓存

2. 修复 pub/sub 未初始化的问题
3. 优化 Job 定时的 mybatis 日志输出,避免一直打印
This commit is contained in:
YunaiV
2022-12-06 20:38:05 +08:00
parent 03c7e60092
commit ffab0b1d6a
4 changed files with 26 additions and 33 deletions

View File

@ -53,7 +53,6 @@ public class YudaoMQAutoConfiguration {
* 创建 Redis Pub/Sub 广播消费的容器
*/
@Bean
@Async // 异步化,可降低 2 秒左右的启动时间
public RedisMessageListenerContainer redisMessageListenerContainer(
RedisMQTemplate redisMQTemplate, List<AbstractChannelMessageListener<?>> listeners) {
// 创建 RedisMessageListenerContainer 对象