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