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

Further reduce complexity of metrics endpoint #117

Merged
merged 2 commits into from
Dec 23, 2024

Conversation

aquarat
Copy link
Contributor

@aquarat aquarat commented Dec 23, 2024

Closes #116

Additionally, this PR also changes the way the sync status is updated. Currently the sync status for downloaded blocks is only update when there are events. This PR contains code that always updates the last downloaded block, regardless of whether events are downloaded or not. The update will still fail if an error occurs.

@aquarat aquarat requested a review from dcroote December 23, 2024 09:38
@aquarat aquarat merged commit 3ba898e into main Dec 23, 2024
3 checks passed
@aquarat aquarat deleted the 116-clean-up-metrics-endpoint-further branch December 23, 2024 09:49
@aquarat
Copy link
Contributor Author

aquarat commented Dec 23, 2024

I've merged this so long as it's the holidays and I'd like to get the alerts quietened. The changes are small and easy to revert. Feel free to comment on this PR if there are any issues.

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.

Remove head block retrieval from metrics endpoint
1 participant