Commit a98efc2430f81711ab363a7bd0047f59e09f70f7
1 parent
b76a0ce8
关闭保护模式
Showing
1 changed file
with
3 additions
and
0 deletions
discovery.yml
| ... | ... | @@ -20,10 +20,13 @@ eureka: |
| 20 | 20 | instance: |
| 21 | 21 | hostname: discovery |
| 22 | 22 | perferIpAddress: true |
| 23 | + lease-expiration-duration-in-seconds: | |
| 23 | 24 | server: |
| 24 | 25 | enable-self-preservation: false |
| 25 | 26 | eviction-interval-timer-in-ms: 4000 |
| 26 | 27 | client: |
| 28 | + leaseRenewalIntervalInSeconds: 20 | |
| 29 | + leaseExpirationDurationInSeconds: 30 | |
| 27 | 30 | registerWithEureka: false |
| 28 | 31 | fetchRegistry: false |
| 29 | 32 | serviceUrl: | ... | ... |