标签:default class dep res 服务发现 int 发送 缓存 elf
#writeRead缓存定时同步到ReadOnly的缓存 eureka.server.responseCacheUpdateIntervalMs =30000 #拉取服务注册表的间隔 eureka.client.registryFetchIntervalSeconds = 30000 #心跳的间隔 eureka.client.leaseRenewalIntervalInSeconds = 30 #定时检查心跳 eureka.server.evictionIntervalTimerInMs = 60000 #如果超过多少秒没检测到,视为服务down机 eureka.instance.leaseExpirationDurationInSeconds = 90
eureka: server: enable-self-preservation: false #关闭自我保护机制 response-cache-update-interval-ms: 5000 #writeRead缓存定时同步到ReadOnly的缓存 eviction-interval-timer-in-ms: 5000 #定时检查心跳
eureka: instance: lease-renewal-interval-in-seconds: 5 #发送心跳 lease-expiration-duration-in-seconds: 8 #这个实例多少秒没检查到心跳视为下线 client: registry-fetch-interval-seconds: 10 #定时拉取注册表
eureka: enable-self-preservation: false response-cache-update-interval-ms: 5000 eviction-interval-timer-in-ms: 1000
eureka: instance: lease-renewal-interval-in-seconds: 30 lease-expiration-duration-in-seconds: 8 client: serviceUrl: defaultZone: http://localhost:8761/eureka/ registry-fetch-interval-seconds: 10
标签:default class dep res 服务发现 int 发送 缓存 elf
原文地址:https://www.cnblogs.com/dabenxiang/p/14619722.html