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 ingestion duration calculation #117

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

aditya1702
Copy link
Contributor

What

Move startTime to after GetLedger() call.

Why

We were incorrectly including core ledger close time in the ingestion duration metric. This change would correctly calculate just the ingestion time minus the ledger close duration of ~5s

Known limitations

NA

@aditya1702 aditya1702 requested a review from tamirms March 27, 2024 21:27
@aditya1702 aditya1702 merged commit 2f4cd61 into stellar:main Mar 27, 2024
20 checks passed
@aditya1702 aditya1702 deleted the fix-ingest-metric branch March 28, 2024 16:13
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