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,6 +53,8 @@ eureka:
53 hostname: gateway 53 hostname: gateway
54 perferIpAddress: true 54 perferIpAddress: true
55 instance-id: ${spring.cloud.client.ipAddress}:${server.port} 55 instance-id: ${spring.cloud.client.ipAddress}:${server.port}
  56 + healthcheck:
  57 + enabled:true
56 client: 58 client:
57 leaseRenewalIntervalInSeconds: 5 59 leaseRenewalIntervalInSeconds: 5
58 leaseExpirationDurationInSeconds: 12 60 leaseExpirationDurationInSeconds: 12