Commit 1c13df81d89f43c9e6ae17c582ce9dcdf70394ff
1 parent
04ca70c4
修改配置
Showing
1 changed file
with
2 additions
and
2 deletions
gateway.yml
| ... | ... | @@ -53,8 +53,6 @@ eureka: |
| 53 | 53 | hostname: gateway |
| 54 | 54 | perferIpAddress: true |
| 55 | 55 | instance-id: ${spring.cloud.client.ipAddress}:${server.port} |
| 56 | - healthcheck: | |
| 57 | - enabled:true | |
| 58 | 56 | client: |
| 59 | 57 | leaseRenewalIntervalInSeconds: 5 |
| 60 | 58 | leaseExpirationDurationInSeconds: 12 |
| ... | ... | @@ -62,6 +60,8 @@ eureka: |
| 62 | 60 | fetchRegistry: true |
| 63 | 61 | serviceUrl: |
| 64 | 62 | defaultZone: http://discovery:15200/eureka/ |
| 63 | + healthcheck: | |
| 64 | + enabled:true | |
| 65 | 65 | |
| 66 | 66 | cas: |
| 67 | 67 | encoding: UTF-8 | ... | ... |