Commit 47a8f8e2 authored by Jason Song's avatar Jason Song

set peerEurekaNodesUpdateIntervalMs and eurekaServiceUrlPollIntervalSeconds to 1 minute

parent b3cfb834
...@@ -7,6 +7,7 @@ eureka: ...@@ -7,6 +7,7 @@ eureka:
defaultZone: http://${eureka.instance.hostname}:8080/eureka/ defaultZone: http://${eureka.instance.hostname}:8080/eureka/
healthcheck: healthcheck:
enabled: true enabled: true
eurekaServiceUrlPollIntervalSeconds: 60
endpoints: endpoints:
health: health:
......
...@@ -3,13 +3,14 @@ eureka: ...@@ -3,13 +3,14 @@ eureka:
hostname: ${hostname:localhost} hostname: ${hostname:localhost}
preferIpAddress: true preferIpAddress: true
server: server:
peerEurekaNodesUpdateIntervalMs: 1 * 60 * 1000 # 1 min peerEurekaNodesUpdateIntervalMs: 60000
enableSelfPreservation: false enableSelfPreservation: false
client: client:
serviceUrl: serviceUrl:
defaultZone: http://${eureka.instance.hostname}:8080/eureka/ defaultZone: http://${eureka.instance.hostname}:8080/eureka/
healthcheck: healthcheck:
enabled: true enabled: true
eurekaServiceUrlPollIntervalSeconds: 60
endpoints: endpoints:
health: health:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment