Commit 48ffcbca7e356b33210c2abeb3f1fb8c43f4541a
1 parent
a98efc24
关闭保护模式
Showing
1 changed file
with
3 additions
and
1 deletions
user-service.yml
| @@ -52,6 +52,8 @@ eureka: | @@ -52,6 +52,8 @@ eureka: | ||
| 52 | hostname: user-service | 52 | hostname: user-service |
| 53 | perferIpAddress: true | 53 | perferIpAddress: true |
| 54 | client: | 54 | client: |
| 55 | + leaseRenewalIntervalInSeconds: 20 | ||
| 56 | + leaseExpirationDurationInSeconds: 30 | ||
| 55 | registerWithEureka: true | 57 | registerWithEureka: true |
| 56 | fetchRegistry: false | 58 | fetchRegistry: false |
| 57 | serviceUrl: | 59 | serviceUrl: |
| @@ -192,4 +194,4 @@ eureka: | @@ -192,4 +194,4 @@ eureka: | ||
| 192 | # 一些公共的常量配置 | 194 | # 一些公共的常量配置 |
| 193 | apiConfig: | 195 | apiConfig: |
| 194 | resourceGaoXiaoBangUrl: https://resource.gaoxiaobang.com | 196 | resourceGaoXiaoBangUrl: https://resource.gaoxiaobang.com |
| 195 | - usrLocalTomcatTempLocation: /usr/local/tomcat/temp | ||
| 196 | \ No newline at end of file | 197 | \ No newline at end of file |
| 198 | + usrLocalTomcatTempLocation: /usr/local/tomcat/temp | ||
| 197 | \ No newline at end of file | 199 | \ No newline at end of file |