Commit bebf07491d123782e9710c72289c63476db9a7df
1 parent
a81ac9c8
调整配置文件
Showing
1 changed file
with
2 additions
and
0 deletions
gateway.yml
| ... | ... | @@ -54,6 +54,8 @@ eureka: |
| 54 | 54 | perferIpAddress: true |
| 55 | 55 | instance-id: ${spring.cloud.client.ipAddress}:${server.port} |
| 56 | 56 | client: |
| 57 | + leaseRenewalIntervalInSeconds: 5 | |
| 58 | + leaseExpirationDurationInSeconds: 12 | |
| 57 | 59 | registerWithEureka: true |
| 58 | 60 | fetchRegistry: true |
| 59 | 61 | serviceUrl: | ... | ... |