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(sync): Fix total_synced metric recording #124

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

renaynay
Copy link
Member

Fixes the total_synced metric such that it actually updates the total amount of synced headers rather than overriding the value every time (missed this during code review of #121)

@renaynay renaynay self-assigned this Oct 18, 2023
@renaynay renaynay changed the title fix(sync): Fix total_synced metric - add, do not override fix(sync): Fix total_synced metric recording Oct 18, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #124 (f13c92c) into main (098c994) will increase coverage by 0.06%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #124      +/-   ##
==========================================
+ Coverage   69.20%   69.27%   +0.06%     
==========================================
  Files          37       37              
  Lines        2981     2981              
==========================================
+ Hits         2063     2065       +2     
+ Misses        771      769       -2     
  Partials      147      147              
Files Coverage Δ
sync/metrics.go 15.38% <0.00%> (ø)

... and 1 file with indirect coverage changes

Copy link
Member

@Wondertan Wondertan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Damn, my bad

@renaynay renaynay merged commit cb63b39 into celestiaorg:main Oct 18, 2023
3 checks passed
@renaynay renaynay deleted the fix-total-synced branch October 18, 2023 12:30
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.

4 participants