1234567891011121314151617181920 |
- ## Redis 配置
- ## Redis服务器地址
- spring.redis.host=120.55.124.69
- ## Redis服务器连接端口
- spring.redis.port=6279
- ## Redis服务器连接密码(默认为空)
- spring.redis.password=bbztx123456
- # 连接超时时间(毫秒)
- spring.redis.timeout=5000
- #日志
- logging.level.org.springframework.cloud=debug
- #hystrix
- hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 4000
- # hystrix.command.apiTimeOut.execution.isolation.thread.timeoutInMilliseconds: 2000
- #度量
- spring.cloud.gateway.metrics.enabled=true
- # 开启指定端点
- management.endpoints.web.exposure.include=gateway,metrics
-
|