|
@@ -10,11 +10,18 @@ eureka:
|
|
|
hostname: localhost
|
|
|
prefer-ip-address: true
|
|
|
ip-address: 192.168.1.89
|
|
|
+ lease-renewal-interval-in-seconds: 15
|
|
|
+ lease-expiration-duration-in-seconds: 32
|
|
|
client:
|
|
|
register-with-eureka: true
|
|
|
fetch-registry: false
|
|
|
service-url:
|
|
|
- defaultZone: http://${spring.security.user.password}:${spring.security.user.password}@${eureka.instance.ip-address}:${server.port}/eureka/
|
|
|
+ defaultZone: http://envir:envir@${eureka.instance.ip-address}:${server.port}/eureka/
|
|
|
+ registry-fetch-interval-seconds: 60
|
|
|
+ instance-info-replication-interval-seconds: 20
|
|
|
+ initial-instance-info-replication-interval-seconds: 45
|
|
|
+ eureka-server-read-timeout-seconds: 10
|
|
|
+ eureka-server-connect-timeout-seconds: 8
|
|
|
server:
|
|
|
enable-self-preservation: false
|
|
|
eviction-interval-timer-in-ms: 60000
|