Commit a81ac9c84253b0a8289dfdefbee10fda50ffa32c
1 parent
f5ad9682
调整配置文件
Showing
1 changed file
with
2 additions
and
0 deletions
class-service.yml
| @@ -87,6 +87,8 @@ eureka: | @@ -87,6 +87,8 @@ eureka: | ||
| 87 | hostname: class-service | 87 | hostname: class-service |
| 88 | perferIpAddress: true | 88 | perferIpAddress: true |
| 89 | client: | 89 | client: |
| 90 | + leaseRenewalIntervalInSeconds: 5 | ||
| 91 | + leaseExpirationDurationInSeconds: 12 | ||
| 90 | registerWithEureka: true | 92 | registerWithEureka: true |
| 91 | fetchRegistry: false | 93 | fetchRegistry: false |
| 92 | serviceUrl: | 94 | serviceUrl: |