Commit 10962673b7a59020e17fc85bdd6faf4ad11d956f

Authored by 刘岱鹏
1 parent e5117b43

修改配置

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