Browse Source

修改数据库连接串

songyh 4 năm trước cách đây
mục cha
commit
8fb9ac6733

+ 12 - 12
jeecg-boot-module-system/src/main/resources/application-prod.yml

@@ -142,18 +142,18 @@ spring:
           #password: root
           #driver-class-name: com.mysql.cj.jdbc.Driver
   #redis 配置
-#  redis:
-#    database: 0
-#    host: 172.30.0.17
-#    lettuce:
-#      pool:
-#        max-active: 8   #最大连接数据库连接数,设 0 为没有限制
-#        max-idle: 8     #最大等待连接中的数量,设 0 为没有限制
-#        max-wait: -1ms  #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
-#        min-idle: 0     #最小等待连接中的数量,设 0 为没有限制
-#      shutdown-timeout: 100ms
-#    password: hcst@2021..
-#    port: 6379
+  redis:
+    database: 0
+    host: 172.30.0.17
+    lettuce:
+      pool:
+        max-active: 8   #最大连接数据库连接数,设 0 为没有限制
+        max-idle: 8     #最大等待连接中的数量,设 0 为没有限制
+        max-wait: -1ms  #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
+        min-idle: 0     #最小等待连接中的数量,设 0 为没有限制
+      shutdown-timeout: 100ms
+    password: hcst@2021..
+    port: 6379
 #mybatis plus 设置
 mybatis-plus:
   mapper-locations: classpath*:org/jeecg/modules/**/xml/*Mapper.xml