瀏覽代碼

修改test环境nacos注册地址

songyh 3 年之前
父節點
當前提交
f3d12c7ed2
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12 0
      jeecg-cloud-module/jeecg-cloud-gateway/src/main/resources/application-test.yml

+ 12 - 0
jeecg-cloud-module/jeecg-cloud-gateway/src/main/resources/application-test.yml

@@ -1,4 +1,16 @@
 spring:
+  redis:
+    database: 0
+    host: 127.0.0.1
+    password:
+    port: 6379
+    lettuce:
+      pool:
+        max-active: 8   #最大连接数据库连接数,设 0 为没有限制
+        max-idle: 8     #最大等待连接中的数量,设 0 为没有限制
+        max-wait: -1ms  #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
+        min-idle: 0     #最小等待连接中的数量,设 0 为没有限制
+      shutdown-timeout: 100ms
   cloud:
     nacos:
       config: