Commit e5117b43d8a90d688f0c84f36d61cdced040d902

Authored by 刘岱鹏
1 parent 21613376

修改配置

Showing 1 changed file with 2 additions and 0 deletions
gateway.yml
... ... @@ -53,6 +53,8 @@ eureka:
53 53 hostname: gateway
54 54 perferIpAddress: true
55 55 instance-id: ${spring.cloud.client.ipAddress}:${server.port}
  56 + healthcheck:
  57 + enabled:true
56 58 client:
57 59 leaseRenewalIntervalInSeconds: 5
58 60 leaseExpirationDurationInSeconds: 12
... ...