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

Improve Jobs Service liveness check to limit the amount of time to get the leader status #2069

Closed
wmedvede opened this issue Jun 14, 2024 · 1 comment
Assignees

Comments

@wmedvede
Copy link
Contributor

Description

Augment the Jobs Service liveness health checks, to consider a configurable amount of time that limits the time to keep retrying to get the leader status.  If leader status can't be obtained in that time, the liveness check will produce a negative report.

Implementation ideas

Add a configuration parameter kogito.jobs-service.management.leader-check.expiration-in-seconds, to set the maximum time the jobs service will wait to get the leader status.  A negative value or zero, means no limit. The default value will be -1.

@wmedvede
Copy link
Contributor Author

wmedvede commented Sep 4, 2024

fixed by: #2096

@wmedvede wmedvede closed this as completed Sep 4, 2024
@github-project-automation github-project-automation bot moved this from 📋 Backlog to 🎯 Done in 🦉 KIE Podling Board Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🎯 Done
1 participant