Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lease expiration on standalone Eureka Server is broken #1459

Open
ViliusS opened this issue Jun 12, 2022 · 0 comments
Open

lease expiration on standalone Eureka Server is broken #1459

ViliusS opened this issue Jun 12, 2022 · 0 comments

Comments

@ViliusS
Copy link

ViliusS commented Jun 12, 2022

If I I set Eureka server in a standalone configuration Lease renewal threshold always remains at 0 and lease expiration never kicks in. I tracked it down to this line of code

if (this.expectedNumberOfClientsSendingRenews > 0) {

Not sure what was the reason for this zero check but on standalone server without any peers attached expectedNumberOfClientsSendingRenews is always zero and never increased anywhere in the code, so threshold always remains zero.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant