Commit 1c13df81d89f43c9e6ae17c582ce9dcdf70394ff

Authored by 刘岱鹏
1 parent 04ca70c4

修改配置

Showing 1 changed file with 2 additions and 2 deletions
gateway.yml
@@ -53,8 +53,6 @@ eureka: @@ -53,8 +53,6 @@ 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  
58 client: 56 client:
59 leaseRenewalIntervalInSeconds: 5 57 leaseRenewalIntervalInSeconds: 5
60 leaseExpirationDurationInSeconds: 12 58 leaseExpirationDurationInSeconds: 12
@@ -62,6 +60,8 @@ eureka: @@ -62,6 +60,8 @@ eureka:
62 fetchRegistry: true 60 fetchRegistry: true
63 serviceUrl: 61 serviceUrl:
64 defaultZone: http://discovery:15200/eureka/ 62 defaultZone: http://discovery:15200/eureka/
  63 + healthcheck:
  64 + enabled:true
65 65
66 cas: 66 cas:
67 encoding: UTF-8 67 encoding: UTF-8