Selaa lähdekoodia

修改配置文件

tianboguang 3 vuotta sitten
vanhempi
commit
e228bb9ca9

+ 5 - 2
src/main/resources/application-prod.properties

@@ -1,11 +1,14 @@
 
 spring.redis.cluster.max-redirects=3
-spring.redis.cluster.nodes=10.71.6.71:7000,10.71.6.72:7000,10.71.6.73:7000,10.71.6.70:7000,10.71.6.68:7000,10.71.6.69:7000
+spring.redis.cluster.nodes=10.71.188.181:7000,10.71.188.108:7000,10.71.188.113:7000,10.71.188.206:7000,10.71.188.238:7000,10.71.188.148:7000
 spring.redis.timeout=5000ms
 spring.redis.jedis.pool.max-active=8
 spring.redis.jedis.pool.max-idle=8
 spring.redis.jedis.pool.max-wait=-1
 spring.redis.jedis.pool.min-idle=0
 spring.redis.database=0
-spring.redis.password=QBzhHTxfcYLTs0n5J5VQ
+spring.redis.password=m8P6JugfYevMBi8bUnlu
+
+spring.cloud.nacos.config.server-addr=10.71.9.205:80
+spring.cloud.nacos.discovery.server-addr=10.71.9.205:80
 

+ 4 - 4
src/main/resources/bootstrap.yml

@@ -7,10 +7,10 @@ spring:
     nacos:
       config:
         #server-addr: 127.0.0.1:8848
-        server-addr: 10.71.5.163:80
+        server-addr: 10.71.9.205:80
       discovery:
         #server-addr: 127.0.0.1:8848
-        server-addr: 10.71.5.163:80
+        server-addr: 10.71.9.205:80
     gateway:
       httpclient:
         response-timeout: 300s
@@ -26,7 +26,7 @@ spring:
             fallbackUri: 'forward:/defaultFallback'
 
   profiles:
-    active: uat
+    active: prod
 logging:
   config: classpath:log4j2.xml
 
@@ -37,4 +37,4 @@ hystrix:
         isolation:
           strategy: SEMAPHORE
           thread:
-            timeoutInMilliseconds: 20000
+            timeoutInMilliseconds: 30000