From f8bd14d0d5d32e76752b85019014e519afb5a590 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期五, 05 七月 2024 15:34:31 +0800
Subject: [PATCH] 添加分数据库异常捕获
---
hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml
index d474358..2a558ae 100644
--- a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml
+++ b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml
@@ -1,5 +1,6 @@
server:
port: 8081
+
spring:
profiles:
active: prod
@@ -8,4 +9,12 @@
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
+ firstLength: 3500
+ secondLength: 2500
+ sequence:
+ order: false
+
--
Gitblit v1.8.0