Lutz Strobel
Lutz Strobel

Reputation: 51

com.netflix.eureka.InstanceRegistry never evict stale instances

registred but died instances of services will not be evicted by the InstanceRegistry. The timer instance is started but the method isLeaseExpirationEnabled() always returns false. this stems from these lines:

        boolean leaseExpirationEnabled = (numberOfRenewsPerMinThreshold > 0)
            && (getNumOfRenewsInLastMin() > numberOfRenewsPerMinThreshold);

Does anybody has an idea whats wrong with the picture? Thanx for your help Lutz

Upvotes: 2

Views: 240

Answers (0)

Related Questions