Commit 43d4abdfc63e811709cf58982c65b1e0113eac65

Authored by luotong
1 parent 5cb4e031

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

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