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

fix(rpc): fix health check #5042

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Japif
Copy link

@Japif Japif commented Feb 20, 2025

Problem

Rpc health method currently returns status as ok for a couple seconds right after the ledger is loaded, since the cluster latest optimistically confirmed slot maches the last one that was locally processed (instead of the one received via gossip)

Summary of Changes

Added an additional check on block time before returning ok status

@mergify mergify bot requested a review from a team February 20, 2025 01:05
@steviez steviez self-requested a review February 24, 2025 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant