Forráskód Böngészése

redis配置修改

rengb 3 éve
szülő
commit
1f7f3c11b6
1 módosított fájl, 5 hozzáadás és 7 törlés
  1. 5 7
      security-center/src/main/resources/bootstrap.yml

+ 5 - 7
security-center/src/main/resources/bootstrap.yml

@@ -5,10 +5,8 @@ spring:
   application:
     name: security-center
   redis:
-    database:
-      cache: 8 # cache索引
-      token: 8 # Token索引
-    host: 192.168.2.236  #Redis服务器地址
+    database: 12
+    host: 192.168.2.236 # Redis服务器地址
     port: 6379 # Redis服务器连接端口(本地环境端口6378,其他环境端口是6379)
     password: lantone # Redis服务器连接密码(默认为空)
     jedis:
@@ -19,7 +17,7 @@ spring:
         min-idle: 0 # 连接池中的最小空闲连接
     timeout: 20000 # 连接超时时间(毫秒)
   rabbitmq:
-    host: localhost
+    host: 192.168.2.236
     port: 5672
     username: rengb
     password: 123456
@@ -74,8 +72,8 @@ feign:
   okhttp:
     enabled: true
 ribbon:
-  ConnectTimeout: 3000 #服务请求连接超时时间(毫秒)
-  ReadTimeout: 3000 #服务请求处理超时时间(毫秒)
+  ConnectTimeout: 3000 # 服务请求连接超时时间(毫秒)
+  ReadTimeout: 3000 # 服务请求处理超时时间(毫秒)
 
 swagger.title: 权限管理服务
 swagger.des: 权限管理服务