From 051613aa73be3e75af5a6dfdb86a722bcb5af094 Mon Sep 17 00:00:00 2001 From: wangfei <3597712270@qq.com> Date: 星期五, 23 八月 2024 16:46:51 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/HangZhouMes --- hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml | 37 ++++++++++++++++++++----------------- 1 files changed, 20 insertions(+), 17 deletions(-) diff --git a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml index 437e3eb..3a702c3 100644 --- a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml +++ b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/resources/application.yml @@ -1,25 +1,28 @@ server: port: 8081 + spring: - datasource: - driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://10.153.19.150:3306/hangzhoumes?serverTimezone=GMT%2b8&characterEncoding=utf-8&useSSL=false - username: root - password: beibo.123/ - cloud: - nacos: - discovery: - server-addr: 127.0.0.1:8848 + profiles: + active: prod application: name: cacheGlass - redis: - database: 0 - host: 192.168.56.10 - port: 6379 - password: - session: - store-type: redis 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 + max: # 绗簩鏉$嚎鐨勬渶澶у昂瀵镐俊鎭� + firstLength: 3500 + secondLength: 2500 + min: + one: #绗竴鏉$(杈圭嚎鐨勬渶灏忓昂瀵镐俊鎭� + firstLength: 600 + secondLength: 350 + two: #绗簩鏉$(杈圭嚎鐨勬渶灏忓昂瀵镐俊鎭� + firstLength: 400 + secondLength: 300 + sequence: + order: false + -- Gitblit v1.8.0