Commit 04ca70c424c86c0994e6f6a400ad56e3b658737e
1 parent
10962673
修改配置
Showing
1 changed file
with
0 additions
and
2 deletions
class-service.yml
| @@ -87,8 +87,6 @@ eureka: | @@ -87,8 +87,6 @@ eureka: | ||
| 87 | hostname: class-service | 87 | hostname: class-service |
| 88 | perferIpAddress: true | 88 | perferIpAddress: true |
| 89 | instance-id: ${spring.cloud.client.ipAddress}:${server.port} | 89 | instance-id: ${spring.cloud.client.ipAddress}:${server.port} |
| 90 | - healthcheck: | ||
| 91 | - enabled:true | ||
| 92 | client: | 90 | client: |
| 93 | leaseRenewalIntervalInSeconds: 5 | 91 | leaseRenewalIntervalInSeconds: 5 |
| 94 | leaseExpirationDurationInSeconds: 12 | 92 | leaseExpirationDurationInSeconds: 12 |