From 719064cc041b55aae25f61ef9004d69b28b79a0f Mon Sep 17 00:00:00 2001 From: caihaohan Date: Mon, 6 Nov 2023 09:01:26 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dev.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/laws-single-startup/src/main/resources/application-dev.yml b/laws-single-startup/src/main/resources/application-dev.yml index cd9c69cc..721321f9 100644 --- a/laws-single-startup/src/main/resources/application-dev.yml +++ b/laws-single-startup/src/main/resources/application-dev.yml @@ -146,7 +146,7 @@ spring: connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000;druid.stat.logSlowSql\=true datasource: master: -# url: jdbc:p6spy:mysql://10.10.10.44:3306/laws-sinotruk-test?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true +# url: jdbc:p6spy:mysql://10.10.10.44:3306/laws-sinotruk?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true # username: root # password: hzwlsoft.com # driver-class-name: com.p6spy.engine.spy.P6SpyDriver @@ -165,9 +165,19 @@ spring: # password: root # driver-class-name: com.mysql.cj.jdbc.Driver #redis 配置 +# redis: +# database: 11 +# host: 127.0.0.1 +# lettuce: +# pool: +# max-active: 8 #最大连接数据库连接数,设 0 为没有限制 +# max-idle: 8 #最大等待连接中的数量,设 0 为没有限制 +# max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。 +# min-idle: 0 #最小等待连接中的数量,设 0 为没有限制 +# shutdown-timeout: 100ms redis: database: 11 - host: 127.0.0.1 + host: 121.36.69.172 lettuce: pool: max-active: 8 #最大连接数据库连接数,设 0 为没有限制 @@ -175,6 +185,8 @@ spring: max-wait: -1ms #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。 min-idle: 0 #最小等待连接中的数量,设 0 为没有限制 shutdown-timeout: 100ms + password: hzwlsoft.com + port: 4780 #rabbitmq 配置 rabbitmq: