add: 本地调试属性,方便开发测试

This commit is contained in:
wangiegie@gmail.com 2018-01-08 21:35:50 +08:00
parent 442b1854d0
commit 03c368856a
1 changed files with 3 additions and 1 deletions

View File

@ -20,4 +20,6 @@ eureka:
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/
instance:
hostname: localhost
server: #配置属性,但由于 Eureka 自我保护模式以及心跳周期长的原因,经常会遇到 Eureka Server 不剔除已关停的节点的问题
enable-self-preservation: false
eviction-interval-timer-in-ms: 100