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 87 hostname: class-service
88 88 perferIpAddress: true
89 89 instance-id: ${spring.cloud.client.ipAddress}:${server.port}
90   - client:
91 90 leaseRenewalIntervalInSeconds: 5
92   - leaseExpirationDurationInSeconds: 12
  91 + leaseExpirationDurationInSeconds: 15
  92 + client:
93 93 registerWithEureka: true
94 94 fetchRegistry: false
95 95 serviceUrl:
... ...