From 50ae51c95b795d509cc877b1df97762255498523 Mon Sep 17 00:00:00 2001
From: wu <731351411@qq.com>
Date: 星期三, 29 五月 2024 13:50:18 +0800
Subject: [PATCH] 更改判断逻辑,减少对数据库的查询量
---
hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml
index d474358..a344abc 100644
--- a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml
+++ b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml
@@ -1,11 +1,17 @@
server:
port: 8081
+
spring:
profiles:
- active: prod
+ active: dev
application:
name: cacheGlass
mybatis-plus:
mapper-locations: classpath*:mapper/*.xml
configuration:
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
\ No newline at end of file
+ log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
+mes:
+ threshold: 3
+ ratio: 10
+ sequence:
+ order: false
--
Gitblit v1.8.0