Commit ed2d607675a148e7e258ca6c0a2d3fca693ff6e0

Authored by luotong
1 parent 6b126cfb

修改服务续约和服务失效配置

Showing 1 changed file with 2 additions and 2 deletions
class-service.yml
@@ -87,9 +87,9 @@ eureka: @@ -87,9 +87,9 @@ eureka:
87 hostname: class-service 87 hostname: class-service
88 perferIpAddress: true 88 perferIpAddress: true
89 instance-id: ${spring.cloud.client.ipAddress}:${server.port} 89 instance-id: ${spring.cloud.client.ipAddress}:${server.port}
90 - client:  
91 leaseRenewalIntervalInSeconds: 5 90 leaseRenewalIntervalInSeconds: 5
92 - leaseExpirationDurationInSeconds: 12 91 + leaseExpirationDurationInSeconds: 15
  92 + client:
93 registerWithEureka: true 93 registerWithEureka: true
94 fetchRegistry: false 94 fetchRegistry: false
95 serviceUrl: 95 serviceUrl: