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 caching duration for slots page in epoch 0 #160

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

pk910
Copy link
Member

@pk910 pk910 commented Oct 24, 2024

finalizedEpoch >= chainState.EpochOfSlot(phase0.Slot(slot)) is always true during epoch 0 when no epoch is finalized yet, so dora ended up caching the slots page for 30 minutes as it thought it's only showing finalized old blocks:

image
this was triggered on ephemery

@pk910 pk910 requested a review from skylenet October 24, 2024 19:42
@pk910 pk910 merged commit 30f5454 into master Oct 25, 2024
1 check passed
@pk910 pk910 deleted the pk910/fix-caching-duration branch October 25, 2024 11:02
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

Successfully merging this pull request may close these issues.

2 participants