mirror of https://gitee.com/maxjhandsome/pig
修改开发环境eureka 心跳时间,方便开发调试
This commit is contained in:
parent
dd2c2fdcb6
commit
fcddc804cc
|
@ -18,6 +18,8 @@ spring:
|
|||
eureka:
|
||||
instance:
|
||||
prefer-ip-address: true
|
||||
lease-renewal-interval-in-seconds: 5
|
||||
lease-expiration-duration-in-seconds: 20
|
||||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
|
|
|
@ -151,7 +151,7 @@
|
|||
</logger>
|
||||
|
||||
<!-- root级别 DEBUG -->
|
||||
<root level="DEBUG">
|
||||
<root level="INFO">
|
||||
<!-- 控制台输出 -->
|
||||
<appender-ref ref="STDOUT" />
|
||||
<!-- 文件输出 -->
|
||||
|
|
|
@ -17,9 +17,12 @@ spring:
|
|||
eureka:
|
||||
instance:
|
||||
prefer-ip-address: true
|
||||
lease-renewal-interval-in-seconds: 5
|
||||
lease-expiration-duration-in-seconds: 20
|
||||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
|
||||
---
|
||||
spring:
|
||||
profiles: prd
|
||||
|
|
|
@ -22,4 +22,4 @@ eureka:
|
|||
hostname: localhost
|
||||
server: #配置属性,但由于 Eureka 自我保护模式以及心跳周期长的原因,经常会遇到 Eureka Server 不剔除已关停的节点的问题
|
||||
enable-self-preservation: false
|
||||
eviction-interval-timer-in-ms: 100
|
||||
eviction-interval-timer-in-ms: 5000
|
||||
|
|
|
@ -17,6 +17,8 @@ spring:
|
|||
eureka:
|
||||
instance:
|
||||
prefer-ip-address: true
|
||||
lease-renewal-interval-in-seconds: 5
|
||||
lease-expiration-duration-in-seconds: 20
|
||||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
|
|
|
@ -17,6 +17,8 @@ spring:
|
|||
eureka:
|
||||
instance:
|
||||
prefer-ip-address: true
|
||||
lease-renewal-interval-in-seconds: 5
|
||||
lease-expiration-duration-in-seconds: 20
|
||||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
|
|
|
@ -33,6 +33,8 @@ spring:
|
|||
eureka:
|
||||
instance:
|
||||
prefer-ip-address: true
|
||||
lease-renewal-interval-in-seconds: 5
|
||||
lease-expiration-duration-in-seconds: 20
|
||||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
|
|
|
@ -18,6 +18,8 @@ spring:
|
|||
eureka:
|
||||
instance:
|
||||
prefer-ip-address: true
|
||||
lease-renewal-interval-in-seconds: 5
|
||||
lease-expiration-duration-in-seconds: 20
|
||||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
|
|
|
@ -17,6 +17,8 @@ spring:
|
|||
eureka:
|
||||
instance:
|
||||
prefer-ip-address: true
|
||||
lease-renewal-interval-in-seconds: 5
|
||||
lease-expiration-duration-in-seconds: 20
|
||||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
|
|
|
@ -18,6 +18,8 @@ spring:
|
|||
eureka:
|
||||
instance:
|
||||
prefer-ip-address: true
|
||||
lease-renewal-interval-in-seconds: 5
|
||||
lease-expiration-duration-in-seconds: 20
|
||||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
|
|
|
@ -18,6 +18,8 @@ spring:
|
|||
eureka:
|
||||
instance:
|
||||
prefer-ip-address: true
|
||||
lease-renewal-interval-in-seconds: 5
|
||||
lease-expiration-duration-in-seconds: 20
|
||||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://pig:gip6666@localhost:1025/eureka
|
||||
|
|
Loading…
Reference in New Issue