Commit 3fd43c067c02980a2ffd50d394f157833a914ee2

Authored by 刘岱鹏
1 parent dd3bee5e

测试eureka.healthcheck.enabled=true属性

Showing 1 changed file with 2 additions and 0 deletions
user-service.yml
... ... @@ -51,6 +51,8 @@ eureka:
51 51 instance:
52 52 hostname: user-service
53 53 perferIpAddress: true
  54 + healthcheck:
  55 + enabled:true
54 56 client:
55 57 leaseRenewalIntervalInSeconds: 20
56 58 leaseExpirationDurationInSeconds: 30
... ...